nilportugues/json-api
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.
JsonResponse, avoiding a PSR-7 bridge in the request/response path.JsonApiSerializer or ApiDocumentBuilder interface. Wrap the package behind that interface so controllers and domain code never depend on its classes directly. Start with one low-risk read-only endpoint, validate the payload against the JSON:API contract, then expand only after compatibility and maintenance checks pass.JsonResponse.How can I help you explore Laravel packages today?