PHP 8.0 Library for parsing JSON:API resource in to data response.
composer require pz/jsonapi-resourceList of ideas and tasks must be implemented in the future.
- Feat: Resource
metaPHP attribute - Feat: Hydration or deserialization for resource creation or update.
- Docs: Metadata guide
- Docs: Full API Reference
- Research: Possible performance improvements.
There are Dockerfile and docker-compose config needed for developing the library on same environment configurations. We suggest using docker-compose for the library development.
Please copy docker-compose.override-example.yaml to docker-compose.override.yaml and set proper user UID and desired build type.
First we need to build the docker image.
docker-compose build appLets install composer dependencies from the container.
docker-compose run app composer installWe are using PestPHP for unit testing the code, so please read about before test.
docker-compose run app pestFor syntax verification and checks we use PHPSTan.
docker-compose run app phpstanFill free to create issues and send merge requests.
Before sending merge request please run phpstan and pest.
