api-skeletons/laravel-api-problem
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.
application/problem+json error responses. It is most valuable where multiple teams or clients depend on a stable error contract and where bespoke exception serialization would otherwise be duplicated across controllers/middleware.instantiator to 2.0. No new features or deprecations are called out.instantiator 2.0 raises the PHP floor or conflicts with an application’s existing transitive dependencies. Risk is low at the package-code level but moderate at the Composer/platform level until the supported PHP/Laravel matrix is confirmed.instantiator a direct or transitive dependency? What PHP and Laravel versions does 2.0.1 declare? Does instantiator 2.0 change object-construction behavior used by problem/exception hydration? Are there hidden breaking changes from 2.0.0 not shown in the 2.0.1 notes? Can teams pin 2.0.0 if blocked by PHP or dependency constraints?^2.0.1 only after confirming PHP/Laravel compatibility. Existing 2.0.0 users can attempt a normal Composer update; teams on older PHP should either upgrade runtime first or pin 2.0.0. No application-level API migration is expected from the release notes alone, but problem-response contract tests should still be run.instantiator 1.x. A Composer conflict is the most likely adoption blocker, not the package’s Laravel integration.composer why instantiator; update in staging; exercise exception rendering for 4xx/5xx paths; validate Content-Type, status codes, and problem body shape; canary to a small API surface; keep a rollback pin to 2.0.0.instantiator dependency should be tracked because major-version bumps can affect platform support.instantiator 2.0 changes constructor behavior.How can I help you explore Laravel packages today?