ivankotut/exception-json-response
Converts exceptions into consistent JSON error responses in Laravel applications. Standardizes error payloads so API clients receive structured, predictable output instead of HTML error pages, making exception handling cleaner and responses easier to consume across your frontend clients.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| lanin/laravel-api-exceptions | 0.83 | Standardize error responses in Laravel APIs. This package converts exceptions into consistent, configurable JSON payloads (including JSON:API style), so clients always get predictable, well-formed errors instead of HTML stack traces. | 39 | 39 | 9 | 591 | 1 | 7.6 | 17.6 | MIT | 7 months ago | |
| jenky/api-error | 0.83 | jenky/api-error is a Laravel/PHP package for consistent API error handling, helping developers return structured JSON error responses and manage exceptions cleanly across API endpoints with less repetitive boilerplate. | 0 | 0 | 0 | 10 | 0 | 2.6 | 14.7 | MIT | 10 months ago | |
| swayok/laravel-extended-errors | 0.83 | Laravel Extended Errors enhances Laravel's exception and error handling with richer context, cleaner responses, and flexible customization for APIs and web apps, helping surface useful debugging details while keeping production errors structured and user-friendly. | 1 | 1 | 0 | 12 | 0 | 19.6 | 13.7 | MIT | 2 weeks ago | |
| andrey-helldar/api-response | 0.81 | Laravel package for building consistent JSON API responses. It offers convenient helpers for success and error replies, standardizes response structure, status codes, and messages, and helps reduce repetitive boilerplate in controllers and resources. | 36 | 38 | 0 | 4 | 0 | 0.3 | 0.4 | MIT | 4 years ago | |
| kodepandai/laravel-api-response | 0.81 | A Laravel package for building consistent API responses with simple helpers for success, error, validation, and paginated JSON output. It standardizes response structure, status codes, and messages so your APIs stay clean and predictable. | 8 | — | 1 | — | 2 | 0.8 | — | MIT | 3 years ago | |
| f9webltd/laravel-api-response-helpers | 0.81 | Laravel API Response Helpers provides a simple trait for consistent JSON API responses in Laravel apps. Easily return success, error, not found, validation, and other common responses with standardized structures and HTTP status codes. | 647 | 647 | 51 | 23K | 0 | 25.3 | 24.0 | MIT | 4 months ago | |
| phpro/api-problem | 0.80 | A framework-agnostic RFC 7807 Problem Details implementation for PHP, providing an interface, an ApiProblemException, and built-in HTTP problem types (400–428) for consistent API error responses, with Symfony integration available. | 66 | 68 | 7 | 22K | 2 | 22.7 | 40.3 | MIT | 1 month ago | |
| riper/exception-transformer | 0.80 | Exception Transformer for Laravel turns thrown exceptions into consistent, structured responses. Map exception types to custom transformers to control status codes, messages, and error payloads, so API error output stays predictable and your exception handlers stay clean. | 0 | 0 | 1 | 0 | 0 | 0.3 | — | — | 5 years ago | |
| phine/exception | 0.80 | phine/exception is an improved exception handler for Laravel that replaces the default error pages with clearer, more useful output, including richer stack traces and context to help you diagnose and fix failures faster during development. | 11 | 11 | 2 | 5K | 0 | 0.1 | 25.3 | MIT | — | |
| holicz/simple-exception | 0.80 | 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. | 0 | 0 | 0 | 9 | 0 | 1.8 | 13.8 | — | 5 years ago | |
| soft-passio/api-exception-bundle | 0.80 | A PHP bundle for standardized API exception handling, converting errors into consistent JSON responses with configurable status codes and payloads. Helps keep API error output predictable and easy to debug across services. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | 6 years ago | |
| m6web/api-exception-bundle | 0.80 | 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 | |
| vkm-apps/x-error | 0.80 | A Laravel package for richer error handling, offering clearer exception reporting and more helpful error responses. It integrates with Laravel's exception handler to make debugging and production errors easier to diagnose and resolve. | 0 | 0 | 0 | 9 | 0 | 17.3 | 15.5 | MIT | 3 months ago | |
| graham-campbell/exceptions | 0.80 | Graham Campbell's Exceptions package gives Laravel apps a cleaner, more powerful exception handling setup, with custom handlers, reporting, throttling, and rendering so errors are easier to manage and debug. | 0 | 593 | — | 7K | — | 0.3 | 53.4 | — | — | |
| andrey-helldar/laravel-json-response | 0.80 | A Laravel package for building consistent JSON API responses with a fluent helper, standard success and error payloads, HTTP status codes, headers, and resource support, simplifying controller output and keeping API responses uniform. | 12 | — | 1 | — | 0 | 4.1 | — | MIT | 7 months ago | |
| dragon-code/laravel-json-response | 0.80 | A Laravel package for building consistent JSON API responses. It provides fluent helpers for success, error, and custom payloads, helping standardize response structure and reduce boilerplate across controllers and APIs. | 12 | 12 | 1 | 424 | 0 | 3.9 | 16.3 | MIT | 7 months ago | |
| jenky/api-error-bundle | 0.80 | A PHP bundle for standardizing API error responses, helping you return consistent JSON error payloads across endpoints with minimal setup and configuration. | 0 | 0 | 0 | 7 | 0 | 2.7 | 12.7 | MIT | 10 months ago | |
| dosfarma/exceptions | 0.80 | 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 | — | — | — | |
| mnavarrocarter/problem-details | 0.80 | PHP package implementing RFC 7807 Problem Details for consistent, machine-readable HTTP API errors. Convert exceptions into standardized responses with type, title, status, and detail fields for cleaner clients and debugging. | 0 | 1 | 0 | 0 | 0 | 0.0 | — | — | 8 years ago |
How can I help you explore Laravel packages today?