noglitchyo/json-api-builder

Build JSON:API from your entities.

0.2.0 2019-07-10 12:50 UTC

This package is auto-updated.

Last update: 2024-10-11 00:17:14 UTC


README

Build a JSON:API from your entities.

PHP from Packagist Build Status codecov Scrutinizer code quality (GitHub/Bitbucket) Packagist

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.