uni-method / jsonapi-mapper
Just another php json mapper
Installs: 6 748
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^7.4|^8.0
- ext-json: *
Requires (Dev)
- phpunit/phpunit: ^9.4
- symfony/yaml: ^5.1
README
Serialize and deserialize your models in array by provided configuration.
Non-stable version please use carefully in a production
- Read CHANGELOG.md
Addition
- Symfony's implementation is here
- More about JSONAPI standard
Install
composer require uni-method/jsonapi-mapper:0.3.0
Run tests
composer test
Constraints
- All objects MUST BE with attribute id or another attribute that represent id