libero/api-problem-bundle
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.
libero/api-problem-bundle is a Symfony bundle, not Laravel. It hooks into Symfony's kernel.exception event to convert thrown exceptions and validation failures into RFC 7807 application/problem+json responses. Architectural fit therefore depends entirely on the target stack: it is a reasonable fit for Symfony-based APIs and a non-fit for Laravel unless wrapped in custom middleware or replaced with a Laravel-native equivalent. Note also that RFC 7807 was superseded by RFC 9457 (2023); the payload shapes are broadly compatible, but any adoption should confirm the bundle still meets current client expectations.nelmio/api-problem, API Platform's native problem-details support, or Symfony's ErrorHandler custom renderers) that cover the same need? If we adopt, who owns the fork, and what is the security-review cadence? Does the organization tolerate an archived dependency on the API error path?v0.2.0 exactly (no floating constraints), vendor or fork the source into an internal repository, and isolate usage behind a thin adapter so its listener/mapping API does not leak into controllers or domain code. Plan an exit path to a maintained alternative from day one.ErrorHandler, or API Platform's own problem-details layer. Exercise the logging output against the application's configured log channels (monolog handlers, structured JSON, external sinks) in a production-like staging environment.How can I help you explore Laravel packages today?