lanin/laravel-api-exceptions
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| forci/catchable-bundle | 0.90 | Symfony bundle for Forci Catchable that brings catchable exception handling to PHP applications. It integrates with Symfony’s error and exception workflow, helping centralize failure handling, reduce repetitive try/catch blocks, and keep controllers clean and consistent. | 0 | 0 | 0 | 21 | 0 | 0.5 | 19.7 | NOASSERTION | — | |
| mnavarrocarter/problem-details-bundle | 0.89 | A Symfony bundle for RFC 7807 problem details that turns exceptions and validation errors into consistent application/problem+json API responses with configurable type, title, status, detail, and custom extension fields. Ideal for standardizing HTTP API error handling. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 8 years ago | |
| marcin-orlowski/laravel-api-response-builder | 0.89 | Build consistent, structured JSON API responses in Laravel. Standardize success and error payloads, map custom internal codes to HTTP statuses, and keep every endpoint returning the same predictable, documented format. | 853 | 856 | 84 | 19K | 1 | 21.0 | 21.1 | MIT | 3 months ago | |
| phphd/exceptional-validation | 0.88 | Exceptional Validation brings exception-driven validation to Laravel, letting you express validation failures as exceptions handled by Laravel’s exception pipeline. Keep controllers, form requests, and domain code clean with reusable validation logic. | 4 | — | 1 | — | 15 | 18.6 | 5.9 | NOASSERTION | 3 months ago | |
| laravie/api | 0.88 | A Laravel package for structuring JSON APIs with a lightweight, organized approach to endpoints and responses. Laravie API helps keep API code clean and consistent inside Laravel applications, making backend services easier to build and maintain. | 14 | 16 | 4 | 25 | 0 | 0.5 | 5.9 | BSD-3-Clause | 4 years ago | |
| libero/api-problem-bundle | 0.88 | Libero API Problem Bundle adds RFC 7807 Problem Details support to Symfony APIs, helping you return consistent, machine-readable error responses. Map exceptions to standard problem types and keep JSON error payloads predictable across services. | 0 | 0 | 2 | 5 | 0 | 0.2 | 7.6 | MIT | 7 years ago | |
| mahmoud-almalah/laravel-api-helpers | 0.87 | A lightweight Laravel package with practical helpers for building cleaner APIs. Reduce boilerplate, standardize common response and controller patterns, and keep your backend code consistent, readable, and easier to maintain across projects. | 1 | 1 | 0 | 340 | 0 | 0.3 | 30.8 | MIT | 1 year ago | |
| arcanedev/laravel-api-helper | 0.87 | ArcaneDev's Laravel API Helper provides lightweight utilities for JSON API development, including standardized response helpers for success and error payloads, helping keep controllers concise and API output consistent across your Laravel application. | 5 | 6 | 2 | 23 | 1 | 0.2 | 9.4 | MIT | 7 years ago | |
| andrey-helldar/laravel-json-response | 0.87 | 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 | |
| lanin/laravel-api-debugger | 0.87 | Inspect and debug Laravel API requests without scattering dumps: laravel-api-debugger captures headers, payloads, responses, status codes, and timing in a built-in UI, making it easy to trace failures, compare calls, and profile endpoints during development and testing. | 231 | 238 | 56 | 38K | 8 | 5.4 | 33.8 | MIT | 1 year ago | |
| phpro/api-problem-bundle | 0.87 | Symfony bundle that turns exceptions into RFC7807 Problem Details responses (application/problem+json). Listens for ApiProblemException/HttpException/Security exceptions and converts them to standardized JSON errors based on phpro/api-problem, with support for custom transformers. | 25 | 25 | 12 | 10K | 2 | 12.2 | 37.3 | MIT | 8 months ago | |
| boson/excepciones-bundle | 0.87 | — | 1 | 2 | 0 | 0 | 0 | 0.3 | — | — | 10 years ago | |
| laravel-json-api/non-eloquent | 0.87 | Laravel JSON:API adapter for non-Eloquent data sources, letting you expose custom repositories or external APIs through the JSON:API spec with resources, relationships, filtering, sorting, and pagination—no Eloquent models required. | 4 | 4 | 1 | 24K | 0 | 0.1 | 50.7 | MIT | — | |
| simple-as-fuck/php-api-toolkit | 0.87 | A no-nonsense PHP toolkit for building APIs without boilerplate. It bundles routing, request validation, JSON responses, and error handling into a small, dependency-light package so you can ship endpoints faster. Simple to install, easy to extend. | 0 | 0 | 1 | 3K | 0 | 19.4 | 55.3 | Unlicense | 2 weeks ago | |
| juampi92/api-resources | 0.87 | juampi92/api-resources extends Laravel's Eloquent API resources with query-string controls for sparse fieldsets, nested includes, and filtering, letting clients request exactly the data they need while you keep resource definitions clean, consistent, and reusable. | 111 | 111 | 20 | 361 | 0 | 1.5 | 8.6 | MIT | 1 year ago | |
| stackmasteraliza/laravel-api-response | 0.87 | — | 30 | 30 | 6 | 0 | 0 | 8.1 | — | MIT | 9 months ago | |
| juststeveking/api-toolbox | 0.87 | A Laravel toolkit for building and documenting consistent APIs, with helpers for responses, errors, and OpenAPI-ready resources that keep endpoint code clean and predictable. | 9 | 9 | 0 | 9K | 0 | 20.0 | 48.1 | MIT | 1 week ago | |
| enm/json-api-server | 0.86 | Abstract server-side PHP implementation of the JSON:API specification, built on enm/json-api-common. Provides endpoints, request handling, and exception handling for building JSON:API-compliant APIs in Laravel or any PHP application. | 12 | 12 | 4 | 0 | 0 | 0.4 | — | MIT | 8 years ago | |
| illuminate/exception | 0.86 | The exception handling component of Laravel, providing the Handler that catches, reports, and renders exceptions into HTTP responses. It supports custom render and report logic, HTTP exceptions, and clean error output across your application. | 21 | — | 4 | — | 0 | 0.2 | — | — | — | |
| phphd/exception-handler | 0.86 | PHPhD Exception Handler offers a structured way to manage exceptions in Laravel/PHP applications, with configurable handling and cleaner error responses for more predictable debugging and user-facing failures. | 1 | — | 0 | — | 0 | 0.3 | — | MIT | 1 year ago |
How can I help you explore Laravel packages today?