juampi92/api-resources
juampi92/api-resources extends Laravel's Eloquent API resources with query-string controls for sparse fieldsets, nested includes, and filtering, letting clients request exactly the data they need while you keep resource definitions clean, consistent, and reusable.
toArray() implementations is a consistency decision that affects onboarding cost, code review velocity, and documentation effort.Consider adoption when:
Look elsewhere when:
For executives: This is a small, low-risk open-source library that standardizes how our Laravel services format API responses. The immediate news is a maintenance release adding Laravel 11 support, which keeps our framework upgrade path open and avoids a scheduling conflict on the platform roadmap. No breaking changes, no migration work, no new operational burden. The decision it supports is whether to keep standardizing our API layer on this package or absorb that work in-house — the former is materially cheaper for a team of our size.
For engineering leadership: v1.10.0 is a compatibility release: Laravel 11.x support plus a CI cleanup removing --ignore-platform-reqs, which means the test suite now runs against real platform constraints rather than bypassing them. That is a modest but meaningful quality signal — the maintainers are tightening their build rather than loosening it. There are no new features and no deprecations, so adoption risk is unchanged from v1.9.0; the practical effect is that the package is no longer a blocker in a Laravel 11 upgrade plan.
For engineering teams: Nothing in this release requires code changes. If you are planning a Laravel 11 upgrade, this package now clears the way and should be bumped in the same pass. The relevant caveat is that framework support here is maintained reactively by a small contributor base — treat it as a dependency to watch at each Laravel major, and pin versions accordingly.
How can I help you explore Laravel packages today?