noglitchyo / json-api-builder
Build JSON:API from your entities.
0.2.0
2019-07-10 12:50 UTC
Requires
- php: ^7.3
- ext-json: *
Requires (Dev)
- phpstan/phpstan: ^0.11.8
- phpunit/phpunit: ^8.1
- squizlabs/php_codesniffer: *
This package is auto-updated.
Last update: 2024-12-11 00:43:33 UTC
README
Build a JSON:API from your entities.
Description
json-api-builder is a simple library to generate easily a JSON:API from your entities. Implement the ResourceObject interface on your entities, provide your API URI. You're all set!
Getting started
Requirements
- PHP >= 7.3
Installation
composer require noglitchyo/json-api-builder
Run
Tests
Would like to the run the test suite? Go ahead:
composer test
References
https://www.php-fig.org/psr/psr-15/
License
This project is licensed under the MIT License - see the LICENSE.md file for details.