skore-labs/laravel-json-api

This package is abandoned and no longer maintained. No replacement package was suggested.

Integrate JSON:API resources on Laravel

3.2.8 2022-08-26 10:42 UTC

README

json-api-logo

THIS PACKAGE IS GONNA BE DEPRECATED IN FAVOUR OF THIS ONE: https://github.com/open-southeners/laravel-apiable

Laravel JSON:API

latest tag packagist version run-tests phpstan StyleCI Codacy Badge Codacy Badge Scc Count Badge Scc Count Badge Take a peek on VSCode online

Integrate JSON:API resources on Laravel.

Features

  • Compatible and tested with all the Laravel LTS supported versions (see them here)
  • Full formatting using pure built-in model methods and properties.
  • Relationships and nested working with eager loading.
  • Permissions "out-of-the-box" authorising each resource view or list of resources.
  • Auto-hide not allowed attributes from responses like user_id or post_id.
  • Own testing utilities built-in Laravel's ones to make integration tests easier.

Documentation

Official documentation

Credits