Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

skore/laravel-json-api

Repository files navigation

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