The set of utils and actions for prepare Rest API accordingly JSON:Api https://jsonapi.org/format/ With https://fractal.thephpleague.com
composer require insolita/yii2-fractal
- 
Add class insolita\fractal\JsonApiBootstrapto the 'bootstrap' section of api application config (or update application config manually with same changes as inJsonApiBootstrapclass ) see tests/testapp/config/api.php.
- 
Create your controller classes by extending JsonApiControllerorJsonApiActiveControllerwhich contains predefined CRUD actions. See examples at tests/testapp/controllers.
- Clone project
- Run make up
- Run once make installdocker
- Run make testdockerormake cliand inside docker envmake test