alexfigures/symfony-jsonapi-bundle
Production-ready JSON:API 1.1 bundle for Symfony featuring full filtering, sorting, pagination, automatic eager loading, and zero N+1 queries. 97.8% spec conformance, PHPStan level 8, PHP 8.3+ and Symfony 7.1+, with optional Doctrine ORM 3 integration.
fields and include parameters to reduce bandwidth.Adopt if:
include.Look elsewhere if:
knp/paginator or api-platform.graphql-php.For Executives: *"This package lets us launch a JSON:API-compliant backend in weeks, not months. With the stable 1.0 release, we get a production-ready Symfony bundle where 98.5% of the JSON:API spec is handled out of the box, so the team can focus on business logic instead of protocol plumbing. It helps us:
fields[articles]=title,createdAt.For Engineers: *"This is the Swiss Army knife for JSON:API in Symfony 7, now at a stable 1.0 release. Key perks:
Example: exposing a Post resource with relationships:
// src/Controller/PostController.php
use AlexFigures\Symfony\JsonApi\Action\CollectionAction;
use AlexFigures\Symfony\JsonApi\Action\ResourceAction;
class PostController extends AbstractJsonApiController
{
#[CollectionAction] public function collection(): JsonApiCollection { ... }
#[ResourceAction] public function resource(Post $post): JsonApiResource { ... }
}
No annotations, no boilerplate—just JSON:API. Start with make install and make test to verify compliance."*
How can I help you explore Laravel packages today?