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 | 4 | 24 | 0 | 2.2 | 15.4 | — | 5 years ago | |
| bugloos/error-response-bundle | 0.85 | — | 12 | 12 | 2 | 7 | 0 | 3.4 | 2.6 | 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 | 26 | 1 | 0.1 | 7.1 | 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 | 30 | 1 | 1.3 | 1.6 | 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. | 62 | 63 | 4 | 25K | 0 | 1.3 | 36.0 | — | 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 | 21K | 0 | 0.1 | 55.3 | 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 | 7 years ago | |
| symfony/error-handler | 0.82 | The Symfony ErrorHandler component provides tools to manage PHP errors and ease debugging. Register the error handler and debug class loader, render friendly error pages, and wrap risky code in ErrorHandler::call() to turn failures into exceptions. | 2,674 | 2,677 | 21 | 27M | 0 | 47.2 | 64.9 | 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 | Assert that a callable throws the expected exception without try/catch boilerplate. codeception/assert-throws adds assertThrows and assertDoesNotThrow helpers for Codeception and PHPUnit tests, with clear failure messages and optional checks on exception class and message. | 19 | 19 | 11 | 26K | 1 | 15.8 | 47.6 | MIT | 5 months ago | |
| jftecnologia/laravel-exceptions | 0.81 | — | 0 | 0 | 2 | 9 | 0 | 10.8 | 15.0 | MIT | 8 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 | 77K | 1 | 2.8 | 44.5 | BSD-3-Clause | 11 months ago |
How can I help you explore Laravel packages today?