Reference

Commands

The Artisan commands of the package.
CommandEffect
php artisan make:jsonapi-resource PostResource [--model=Post] [--force]Writes a resource from the casts, fillable attributes and relations of the model
php artisan jsonapi:check [resources…] [--strict] [--revision=Case]Prints the findings about the resources at every revision; fails on an error, on a warning too with --strict
php artisan jsonapi:cacheCompiles every definition into bootstrap/cache/jsonapi.php (run by optimize)
php artisan jsonapi:clearRemoves the compiled definitions (run by optimize:clear)

php artisan revision:check, revision:lock and revision:cache belong to ark4ne/laravel-api-revisions.

Publishable files

TagFile
config (with --provider="Ark4ne\JsonApi\Laravel\JsonApiServiceProvider")config/jsonapi.php
jsonapi-stubsstubs/jsonapi-resource.stub
jsonapi-langlang/vendor/jsonapi/