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.85 | — | 1 | 1 | 5 | 32 | 0 | 2.3 | 17.0 | — | 5 years ago | |
| c975l/exceptionchecker-bundle | 0.84 | — | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| bytestechnolabs/custom-exception-handler | 0.84 | 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 | 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.83 | 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 | 15 | 1 | 1.3 | 0.9 | MIT | 7 years ago | |
| bensonirah/handler-exception | 0.83 | — | 0 | 1 | 0 | 0 | 0 | 0.9 | — | — | 1 year 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 | 13K | 0 | 0.1 | 52.8 | MIT | — | |
| 4xxi/rest-request-errors | 0.83 | — | 2 | 2 | 0 | 141 | 1 | 0.1 | 16.4 | — | — | |
| desarrolla2/mail-exception-bundle | 0.82 | — | 4 | 4 | 2 | 394 | 0 | 0.1 | 26.1 | MIT | — | |
| codeception/assert-throws | 0.82 | 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 | 3.6 | 43.1 | MIT | 2 weeks ago | |
| jftecnologia/laravel-exceptions | 0.82 | — | 0 | 0 | 2 | 1 | 0 | 14.5 | 4.6 | MIT | 4 months ago | |
| 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 | |
| boson/excepciones-bundle | 0.82 | — | 1 | 2 | 0 | 0 | 0 | 0.3 | — | — | 10 years ago | |
| paragonie/corner | 0.82 | 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 | 24K | 0 | 1.3 | 35.6 | — | 6 years ago | |
| culabs/bugcatch-bundle | 0.81 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| 20steps/commons-ensure-bundle | 0.81 | — | 0 | 0 | 1 | 0 | 0 | 0.3 | — | LGPL-3.0 | 8 years ago | |
| herrera-io/phpunit-test-case | 0.81 | PHPUnit TestCase class and Extras trait that add helpers for common test chores: create/delete temporary files and directories, call protected/private methods, and get/set protected/private properties. Use as a base class or mix into your own test case. | 1 | 1 | 0 | 18 | 0 | 0.0 | 9.8 | MIT | — | |
| dmp/rest-bundle | 0.81 | — | 0 | 0 | 0 | 16 | 0 | 19.7 | 19.4 | — | 2 months ago | |
| bugloos/error-response-bundle | 0.81 | — | 12 | 12 | 2 | 62 | 0 | 3.4 | 10.5 | MIT | 2 years ago | |
| digitalrevolution/utils | 0.80 | — | 1 | 1 | 8 | 3K | 1 | 27.4 | 51.6 | MIT | 1 month ago |
How can I help you explore Laravel packages today?