friendsofcake/crud-json-api

Listener for building CakePHP Crud APIs following the JSON API specification.

Installs: 347 383

Dependents: 3

Suggesters: 1

Security: 0

Stars: 53

Watchers: 12

Forks: 28

Open Issues: 19

Type:cakephp-plugin


README

Build Status Coverage Status PHPStan Total Downloads Latest Stable Version Documentation Status

JSON API Crud Listener for CakePHP

Build JSON API Servers with almost no code. Comes with advanced features like:

  • Compound Documents (Deeply Nested Includes)
  • Sparse Fieldsets
  • Multi-field Filtering (Search)
  • Multi-field Sorting
  • Multi-field Validation
  • Pagination

How does it work?

  1. Structure your data using the powerful CakePHP ORM
  2. Create (near-empty) Controllers
  3. Let crud-json-api worry about JSON API

Documentation

Fully documented at https://crud-json-api.readthedocs.io/