dogado / json-api-common
Common interfaces and classes which represent the JSON:API protocol in order to build a client or server application.
Installs: 6 764
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 5
Forks: 0
Open Issues: 2
Requires
- php: ^8.0
- ext-json: *
- psr/http-message: ^1.0
Requires (Dev)
- fakerphp/faker: ^1.15
- guzzlehttp/psr7: ^1.7
- nikic/php-parser: ^4.12
- phpstan/phpstan: ^0.12.89
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.6
README
This library contains php classes and interfaces shared between
dogado/json-api-server
and
dogado/json-api-client
.
Installation
composer require dogado/json-api-common
Documentation
- JsonApiTrait
- Resources
- Attributes and Meta-Informations
- Links
- Documents
- Exceptions and Errors
- Request and Response
- Model conversion
Credits
This package contains code taken from enm/json-api-common.
License
The MIT License (MIT). Please see License File for more information.