phpro/api-problem
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| api-platform/validator | 0.89 | — | 31 | 30 | 0 | 804K | 0 | 0.2 | 55.3 | MIT | — | |
| bugloos/error-response-bundle | 0.88 | — | 12 | 12 | 2 | 7 | 0 | 3.4 | 2.6 | MIT | 3 years ago | |
| 1mcodes/api-problem-bundle | 0.88 | — | 0 | 0 | 0 | 0 | 0 | 5.8 | — | MIT | 9 months ago | |
| abc/api-problem | 0.88 | Lightweight PHP library for representing API errors using RFC 7807 “Problem Details for HTTP APIs”. Create ApiProblem instances with type, title, status, detail, and instance, then serialize to JSON for consistent error responses. | 1 | 1 | 0 | 13 | 0 | 0.0 | 12.1 | MIT | — | |
| stackmasteraliza/laravel-api-response | 0.88 | — | 30 | 30 | 6 | 0 | 0 | 8.1 | — | MIT | 9 months ago | |
| api-check/php-symfony-client | 0.87 | — | 0 | 0 | 0 | 0 | 0 | 9.4 | — | MIT | 7 months ago | |
| libero/api-problem-bundle | 0.87 | 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 | |
| api-skeletons/laravel-api-problem | 0.87 | Laravel API Problem provides RFC 7807-compliant problem details responses for JSON APIs, helping you return consistent, machine-readable errors with exception and validation support. It integrates with Laravel to standardize API error payloads and status codes. | 11 | — | 3 | — | 0 | 0.5 | — | BSD-3-Clause | 2 years 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 | |
| php-standard-library/type | 0.87 | Runtime type validation for PHP built on the Parse, Don't Validate principle: coerce and assert unstructured input into well-typed data, with clear errors when values don't match. | 1 | 1 | 0 | 114K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| crell/api-problem | 0.87 | A framework-agnostic PHP library implementing RFC 9457 (formerly RFC 7807) Problem Details for HTTP APIs. It provides structured problem objects, exceptions, and response helpers for consistent, machine-readable API error responses. | 248 | 252 | 21 | 35K | 0 | 1.9 | 29.7 | MIT | — | |
| app-verk/api-exception-bundle | 0.87 | — | 1 | 1 | 4 | 24 | 0 | 2.2 | 15.4 | — | 5 years ago | |
| php-standard-library/foundation | 0.87 | Foundation provides the core building blocks for PHP Standard Library packages: a consistent exception hierarchy, the Ref reference wrapper for safe value passing, and invariant functions for validating preconditions and enforcing assumptions. Lightweight, dependency-free, and designed for reuse acr... | 1 | 1 | 0 | 105K | 0 | 21.6 | 64.9 | MIT | 1 week ago | |
| errors/exceptions | 0.87 | — | 5 | 5 | 0 | 26 | 1 | 0.1 | 7.1 | MIT | — | |
| php-standard-library/result | 0.87 | Result type for PHP that captures success or failure as a value, enabling controlled error handling without exceptions. Part of the PHP Standard Library. | 1 | 1 | 0 | 104K | 0 | 21.7 | 65.0 | MIT | 1 week ago | |
| m6web/api-exception-bundle | 0.87 | 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 | |
| symfony/error-handler | 0.87 | 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 | |
| 4xxi/rest-request-errors | 0.87 | — | 2 | 2 | 0 | 141 | 1 | 0.1 | 16.4 | — | — | |
| phphd/exceptional-validation | 0.87 | 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 | |
| sycho/errors | 0.87 | sycho/errors is a Laravel/PHP error-handling package that helps developers capture, organize, and present application errors. It centralizes error management, supports cleaner debugging workflows, and makes it easier to build consistent error responses and user-facing messages. | 0 | 0 | 0 | 17K | 0 | 0.0 | 55.3 | MIT | — |
How can I help you explore Laravel packages today?