PHPackages                             friendsofcake/crud-json-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. friendsofcake/crud-json-api

ActiveCakephp-plugin[API Development](/categories/api)

friendsofcake/crud-json-api
===========================

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

2.0.0(10mo ago)58445.4k↓20.1%33[8 issues](https://github.com/FriendsOfCake/crud-json-api/issues)[4 PRs](https://github.com/FriendsOfCake/crud-json-api/pulls)3MITPHPPHP &gt;=8.1.0CI passing

Since May 5Pushed 10mo ago10 watchersCompare

[ Source](https://github.com/FriendsOfCake/crud-json-api)[ Packagist](https://packagist.org/packages/friendsofcake/crud-json-api)[ Docs](https://github.com/FriendsOfCake/crud-json-api)[ RSS](/packages/friendsofcake-crud-json-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (38)Used By (3)

[![Build Status](https://camo.githubusercontent.com/2bcc2d7e47b64b37dba366f9cbebb259f4715f17b2cd9ddab2b60752ee144473/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f467269656e64734f6643616b652f637275642d6a736f6e2d6170692f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/FriendsOfCake/crud-json-api)[![Coverage Status](https://camo.githubusercontent.com/9d6a95486b5f6c0a651ec2067344464c51a976f27ff47c1ea6714aa5944394cc/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f467269656e64734f6643616b652f637275642d6a736f6e2d6170692e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/github/FriendsOfCake/crud-json-api)[![PHPStan](https://camo.githubusercontent.com/a44af5fc39484990738cc4bd3874d884a42afdeed470b34a010e77bb8341ef31/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d656e61626c65642d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/phpstan/phpstan)[![Total Downloads](https://camo.githubusercontent.com/75b85409bdb4cf72c8e2b1e01ecbccdee693bbee6e1bed4592c939322907a4c1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f467269656e64734f6643616b652f637275642d6a736f6e2d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/FriendsOfCake/crud-json-api)[![Latest Stable Version](https://camo.githubusercontent.com/1b54253bc79e893c47dc4a2908079e2b70045ee396593b7fec328dae649afb4e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f467269656e64734f6643616b652f637275642d6a736f6e2d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/FriendsOfCake/crud-json-api)[![Documentation Status](https://camo.githubusercontent.com/29b7157a280a161b30b8aa4903d7d6c32536a802a2fcd88decba321fbb15f4e2/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f637275642d6a736f6e2d6170692f62616467653f7374796c653d666c61742d737175617265)](https://crud-json-api.readthedocs.org)

JSON API Crud Listener for CakePHP
==================================

[](#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?
-----------------

[](#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
-------------

[](#documentation)

Fully documented at

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance51

Moderate activity, may be stable

Popularity51

Moderate usage in the ecosystem

Community35

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~96 days

Recently: every ~234 days

Total

32

Last Release

320d ago

Major Versions

0.5.4 → 1.0.0-beta2020-02-12

1.x-dev → 2.0.02025-07-02

PHP version history (4 changes)0.5.0PHP &gt;=7.1.0

1.0.0-betaPHP &gt;=7.2.0

1.1.0PHP &gt;=7.4.0

2.0.0PHP &gt;=8.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/e31753bdd616948c7c8978ea9b5805378f75bfa62564e69c0aa2fd67aaf418c5?d=identicon)[ADmad](/maintainers/ADmad)

![](https://www.gravatar.com/avatar/237fc5067f1e83628efd392da694a3f95445b4c906ec4edf69c873080e6da77d?d=identicon)[FriendsOfCake](/maintainers/FriendsOfCake)

---

Top Contributors

[![jippi](https://avatars.githubusercontent.com/u/22841?v=4)](https://github.com/jippi "jippi (949 commits)")[![bravo-kernel](https://avatars.githubusercontent.com/u/230500?v=4)](https://github.com/bravo-kernel "bravo-kernel (323 commits)")[![ADmad](https://avatars.githubusercontent.com/u/142658?v=4)](https://github.com/ADmad "ADmad (252 commits)")[![dakota](https://avatars.githubusercontent.com/u/83255?v=4)](https://github.com/dakota "dakota (192 commits)")[![AD7six](https://avatars.githubusercontent.com/u/33387?v=4)](https://github.com/AD7six "AD7six (134 commits)")[![josegonzalez](https://avatars.githubusercontent.com/u/65675?v=4)](https://github.com/josegonzalez "josegonzalez (96 commits)")[![lorenzo](https://avatars.githubusercontent.com/u/37621?v=4)](https://github.com/lorenzo "lorenzo (93 commits)")[![Phally](https://avatars.githubusercontent.com/u/112639?v=4)](https://github.com/Phally "Phally (49 commits)")[![rchavik](https://avatars.githubusercontent.com/u/39490?v=4)](https://github.com/rchavik "rchavik (44 commits)")[![kevindecapite](https://avatars.githubusercontent.com/u/1189656?v=4)](https://github.com/kevindecapite "kevindecapite (33 commits)")[![steefaan](https://avatars.githubusercontent.com/u/5982785?v=4)](https://github.com/steefaan "steefaan (22 commits)")[![jadb](https://avatars.githubusercontent.com/u/33527?v=4)](https://github.com/jadb "jadb (18 commits)")[![bcrowe](https://avatars.githubusercontent.com/u/752603?v=4)](https://github.com/bcrowe "bcrowe (12 commits)")[![geoidesic](https://avatars.githubusercontent.com/u/4637995?v=4)](https://github.com/geoidesic "geoidesic (10 commits)")[![saeideng](https://avatars.githubusercontent.com/u/8215801?v=4)](https://github.com/saeideng "saeideng (8 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![ceeram](https://avatars.githubusercontent.com/u/111448?v=4)](https://github.com/ceeram "ceeram (8 commits)")[![bar](https://avatars.githubusercontent.com/u/88155?v=4)](https://github.com/bar "bar (7 commits)")[![davidyell](https://avatars.githubusercontent.com/u/49889?v=4)](https://github.com/davidyell "davidyell (6 commits)")[![Spriz](https://avatars.githubusercontent.com/u/3512268?v=4)](https://github.com/Spriz "Spriz (6 commits)")

---

Tags

apicakephpcakephp-crud-listenercrud-json-apidryhacktoberfestjson-apiphprapid-developmentapicakephpjsonapicrudJSON-API

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/friendsofcake-crud-json-api/health.svg)

```
[![Health](https://phpackages.com/badges/friendsofcake-crud-json-api/health.svg)](https://phpackages.com/packages/friendsofcake-crud-json-api)
```

###  Alternatives

[cloudcreativity/laravel-json-api

JSON API (jsonapi.org) support for Laravel applications.

7881.1M5](/packages/cloudcreativity-laravel-json-api)[neomerx/json-api

Framework agnostic JSON API (jsonapi.org) implementation

7373.6M27](/packages/neomerx-json-api)[alsvanzelf/jsonapi

Human-friendly library to implement JSON:API without needing to know the specification.

54150.0k5](/packages/alsvanzelf-jsonapi)[cloudcreativity/json-api-testing

PHPUnit test helpers to check JSON API documents.

141.6M3](/packages/cloudcreativity-json-api-testing)[bcrowe/cakephp-api-pagination

CakePHP 4 plugin that injects pagination information into API responses.

3953.5k1](/packages/bcrowe-cakephp-api-pagination)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
