holicz/simple-exception
Lightweight base exception for PHP/Laravel with structured context: a safe public message for users, a private debug message for logs, and an HTTP status code. Create your own exceptions by extending BaseException and pass an ExceptionContext.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| app-verk/api-exception-bundle | 0.87 | — | 1 | 1 | 5 | 23 | 0 | 2.3 | 15.2 | — | 5 years ago | |
| bugloos/error-response-bundle | 0.85 | — | 12 | 12 | 2 | 28 | 0 | 3.4 | 6.9 | MIT | 3 years ago | |
| bensonirah/handler-exception | 0.85 | — | 0 | 1 | 0 | 0 | 0 | 0.9 | — | — | 1 year ago | |
| bytestechnolabs/custom-exception-handler | 0.85 | 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. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| dosfarma/exceptions-bundle | 0.84 | — | 0 | 0 | 1 | 0 | 0 | 0.0 | — | — | — | |
| amontreuil/exception-handler-bundle | 0.84 | — | 0 | 0 | 0 | 0 | 0 | 4.8 | — | — | 4 years ago | |
| errors/exceptions | 0.84 | — | 5 | 5 | 0 | 30 | 1 | 0.1 | 7.6 | MIT | — | |
| dosfarma/exceptions | 0.84 | Lightweight Laravel/PHP exception utilities for standardizing, wrapping, and handling application errors. Helps you define consistent exception types and messages across your codebase, improving error clarity, debugging, and maintainability with minimal setup. | 0 | 0 | 1 | 0 | 0 | 0.0 | — | — | — | |
| m6web/api-exception-bundle | 0.84 | 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 | |
| paragonie/corner | 0.84 | Corner provides extended PHP exceptions/errors with richer context: helpful long-form messages, source code snippets around the failure, and support links. Inspired by Rust-style diagnostics, useful even outside UI error pages. | 63 | 63 | 4 | 25K | 0 | 1.3 | 35.9 | — | 6 years ago | |
| boson/excepciones-bundle | 0.83 | — | 1 | 2 | 0 | 0 | 0 | 0.3 | — | — | 10 years ago | |
| axy/errors | 0.83 | 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 | — | |
| 4xxi/rest-request-errors | 0.83 | — | 2 | 2 | 0 | 141 | 1 | 0.1 | 16.4 | — | — | |
| camelot/thrower | 0.82 | 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 | |
| symfony/error-handler | 0.82 | 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 | |
| c975l/exceptionchecker-bundle | 0.82 | — | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| paksuco/lara-ticket | 0.81 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 5 years ago | |
| codeception/assert-throws | 0.81 | Adds assertThrows-style assertions to Codeception, letting you easily verify exceptions in tests. Assert the exception type and optionally message/code when running a callable, making negative-path testing clearer and less verbose. | 19 | 19 | 11 | 27K | 1 | 21.5 | 50.1 | MIT | 2 months ago | |
| jftecnologia/laravel-exceptions | 0.81 | — | 0 | 0 | 2 | 0 | 0 | 12.1 | — | MIT | 5 months ago | |
| yiisoft/friendly-exception | 0.76 | 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 |
How can I help you explore Laravel packages today?