crell/api-problem
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| nilportugues/json-api | 0.87 | A PHP package for building JSON API (jsonapi.org) compliant responses, with Laravel support. It transforms Eloquent models and collections into standardized resources, handling includes, pagination, links, meta and error objects so your API follows the spec without manual serialization. | 69 | 71 | 34 | 407 | 11 | 4.6 | 15.1 | MIT | 8 years ago | |
| psr/http-client | 0.87 | PSR-18 interfaces and common code for HTTP clients in PHP. This package provides the standard abstractions (requests, responses, exceptions) for interoperability, not an actual client implementation. Find compatible implementations on Packagist. | 1,717 | 1,728 | 17 | 29M | 0 | 11.2 | 55.3 | MIT | 3 years 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 | |
| kamranahmedse/laravel-faulty | 0.86 | Laravel Faulty wraps fragile code in a fault-tolerant helper so exceptions don't break your app. Define fallbacks, like cached values, defaults, or closures, and Faulty returns them when the wrapped call fails, keeping API or service outages from taking down your requests. | 64 | — | 7 | — | 0 | 0.8 | — | MIT | 9 years ago | |
| psr/http-server-middleware | 0.86 | PSR-15 HTTP server middleware interfaces for PHP. Provides the MiddlewareInterface specification used by request handlers and middleware stacks; no implementation included. Install via psr/http-server-middleware and use with compatible frameworks or libraries. | 187 | 201 | 11 | 6M | 0 | 1.6 | 55.3 | MIT | 3 years ago | |
| guzzlehttp/psr7 | 0.86 | PSR-7 HTTP message implementation for PHP: request, response, URI, uploaded file, and stream objects compatible with Guzzle and any PSR-7 library. Create or inspect messages without sending requests; includes factories and helpers. | 7,929 | 7,994 | 28 | 31M | 3 | 60.7 | 58.7 | MIT | 2 weeks ago | |
| api-skeletons/laravel-api-problem | 0.86 | 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 | |
| forci/catchable-bundle | 0.86 | 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 | — | |
| lde/api-helper | 0.86 | A Laravel/PHP helper package that streamlines API development with reusable utilities for consistent JSON responses, error handling, and request/response conveniences, helping you build cleaner, more maintainable APIs faster. | 5 | 5 | 3 | 47 | 0 | 0.2 | 13.1 | MIT | 4 years ago | |
| marcin-orlowski/laravel-api-response-builder | 0.86 | 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 | |
| psr/http-message | 0.86 | PSR-7 HTTP message interfaces for PHP (Request/Response, Streams, URIs, UploadedFiles). Defines common contracts only—no concrete implementation. Ideal for framework-agnostic middleware and libraries needing interoperable HTTP message types. | 7,026 | 7,116 | 185 | 22M | 0 | 37.7 | 56.3 | MIT | 3 years ago | |
| m6web/api-exception-bundle | 0.86 | 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 | |
| mahmoud-almalah/laravel-api-helpers | 0.86 | 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 | |
| bugloos/error-response-bundle | 0.86 | — | 12 | 12 | 2 | 7 | 0 | 3.4 | 2.6 | MIT | 3 years ago | |
| http-interop/http-middleware | 0.86 | Interfaces for reusable PSR-7/PSR-15-style HTTP middleware components, enabling interoperability across frameworks and libraries. Define, compose, and share middleware pipelines with minimal coupling between request handlers and implementations. | 71 | 76 | 7 | 10K | 0 | 0.3 | 20.9 | MIT | — | |
| halloverden/symfony-http-exceptions-bundle | 0.85 | A Symfony bundle that provides HTTP-aware exception classes for your applications. Throw typed exceptions that map to status codes and render consistent error responses while keeping controllers and services clean. Integrates with Symfony's exception handling. | 0 | 1 | 0 | 7 | 0 | 0.1 | 12.5 | MIT | — | |
| pedrosalpr/laravel-api-problem | 0.85 | Laravel API Problem brings RFC 7807/9457 problem details to your Laravel API, helping you return consistent, standards-compliant JSON error responses. Document, debug, and consume API errors more easily with structured problem payloads and simple helpers. | 11 | — | 1 | — | 1 | 0.4 | 0.4 | MIT | — | |
| arcanedev/laravel-api-helper | 0.85 | 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 | |
| lanin/laravel-api-exceptions | 0.85 | 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 | |
| phpro/api-problem-bundle | 0.85 | 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 |
How can I help you explore Laravel packages today?