modufolio / json-api
JSON:API implementation for Doctrine ORM
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 1
pkg:composer/modufolio/json-api
Requires
- php: ^8.2
- doctrine/collections: ^2.0
- doctrine/orm: ^3.0
- psr/http-factory: ^1.0
- psr/http-message: ^2.0
- symfony/validator: ^7.0
- willdurand/negotiation: ^3.0
Requires (Dev)
- doctrine/dbal: ^4.0
- nyholm/psr7: ^1.8
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^10.0
- symfony/cache: ^7.0
This package is not auto-updated.
Last update: 2026-02-06 00:17:11 UTC
README
A PHP implementation of the JSON:API specification for Doctrine ORM.
Features
- Full JSON:API 1.0 specification compliance
- Doctrine ORM integration
- Flexible filtering system with custom filter support
- Sorting, pagination, and sparse fieldsets
- Relationship handling (to-one and to-many)
- Content negotiation
- Validation support via Symfony Validator
- PSR-7 HTTP message interfaces
Installation
composer require modufolio/json-api
Requirements
- PHP 8.2 or higher
- Doctrine ORM 3.0+
- PSR-7 HTTP Message implementation
- PSR-17 HTTP Factory implementation
License
MIT