bytestechnolabs/custom-exception-handler
Laravel package for configurable exception handling: map exception classes to custom messages, HTTP status codes, and extra response data via config. Includes helper to add custom data dynamically during catch blocks for consistent API error responses.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| amontreuil/exception-handler-bundle | 0.87 | — | 0 | 0 | 0 | 0 | 0 | 4.8 | — | — | 4 years ago | |
| m6web/api-exception-bundle | 0.87 | Symfony bundle that centralizes API exception handling and returns clean JSON responses. Supports configurable error formatting, stack traces, form validation errors, exception matching/mapping, logging, and environment-specific behavior. | 65 | 64 | 7 | 96 | 1 | 1.3 | 3.8 | MIT | 7 years ago | |
| axy/errors | 0.86 | axy/errors is a PHP 8.1+ helper for defining and organizing exception classes. Provides common exception structures, basic error classes, default messages, backtrace truncation, and global options to standardize error handling across projects. | 1 | 1 | 2 | 10K | 0 | 0.1 | 51.0 | MIT | — | |
| spatie/laravel-error-solutions | 0.86 | Shows helpful, actionable “solutions” directly on Laravel’s error page, explaining likely causes and fixes. Some solutions are runnable with one click (e.g., generate APP_KEY), speeding up debugging during local development. | 101 | 101 | 8 | 17K | 0 | 15.8 | 34.2 | MIT | 5 months ago | |
| citizen63000/easy-api-core | 0.86 | — | 0 | 0 | 1 | 1 | 0 | 18.7 | 4.8 | MIT | 1 month ago | |
| yiisoft/friendly-exception | 0.86 | Defines FriendlyExceptionInterface for exceptions that provide a human-friendly name and suggested solution. Lets error handlers detect these exceptions and display clearer, actionable information on error pages. Includes guidance for writing short, markdown-based solutions. | 49 | 49 | 11 | 70K | 1 | 8.0 | 45.9 | BSD-3-Clause | 8 months ago | |
| elao/error-notifier-bundle | 0.86 | — | 64 | 59 | 27 | 334 | 6 | 3.9 | 8.7 | — | 7 years ago | |
| bensonirah/handler-exception | 0.86 | — | 0 | 1 | 0 | 0 | 0 | 0.9 | — | — | 1 year ago | |
| camelot/thrower | 0.85 | Utility wrappers that replace PHP’s inconsistent error/warning/notice behavior with exception-based throwing. Simplifies common tasks by ensuring functions fail predictably via exceptions (excluding deprecation warnings). | 1 | 1 | 0 | 0 | 0 | 0.3 | — | MIT | 6 years ago | |
| phrity/util-errorhandler | 0.85 | — | 9 | 9 | 0 | 393K | 0 | 8.9 | 58.6 | MIT | 8 months ago | |
| symfony/error-handler | 0.85 | Symfony ErrorHandler provides robust error and exception handling tools for PHP. Enable debug mode, register an error handler, and use DebugClassLoader for better stack traces. Convert PHP notices/warnings into exceptions and wrap risky code with ErrorHandler::call for safer debugging. | 2,670 | 2,675 | 20 | 15M | 0 | 46.0 | 61.0 | MIT | 1 week ago | |
| open-southeners/extended-laravel | 0.85 | Adds handy Laravel extensions and helper utilities to streamline common tasks and reduce boilerplate. Designed as a lightweight add-on for projects needing extra convenience features beyond the core framework, with simple installation and integration. | 0 | 0 | 0 | 98 | 0 | 19.7 | 31.9 | MIT | 3 months ago | |
| bugloos/error-response-bundle | 0.85 | — | 12 | 12 | 2 | 28 | 0 | 3.4 | 6.9 | MIT | 3 years ago | |
| errors/exceptions | 0.85 | — | 5 | 5 | 0 | 30 | 1 | 0.1 | 7.6 | MIT | — | |
| c975l/exceptionchecker-bundle | 0.84 | — | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| lucaterribili/helloworld | 0.84 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 3 years ago | |
| alterway/rest-problem-bundle | 0.84 | — | 5 | 5 | 7 | 1 | 0 | 0.5 | 0.9 | MIT | 12 years ago | |
| ctrl-f5/ctrl-common | 0.84 | Shared utilities and helpers for the Ctrl-F5 ecosystem: common PHP/Laravel components, small abstractions, and reusable support code used across multiple packages and apps. Intended as a lightweight foundation dependency. | 0 | 0 | 0 | 0 | 0 | 0.0 | 6.6 | — | — | |
| adrianoalves/laravel-exceptionlog | 0.84 | Minimal Laravel 7+ package to persist exceptions to a database logs table. Install via Composer, migrate, then call ExceptionLog::persist($exception, $level). Includes simple level mapper (app, DB, server, console, jobs) and is customizable. | 0 | 0 | 0 | 0 | 0 | 0.9 | — | GPL-3.0 | 6 years ago | |
| app-verk/api-exception-bundle | 0.84 | — | 1 | 1 | 5 | 23 | 0 | 2.3 | 15.2 | — | 5 years ago |
How can I help you explore Laravel packages today?