PHPackages                             slick/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. slick/json-api

ActiveLibrary

slick/json-api
==============

JSON:API specification library, providing content negotiation, error handling and pagination, as well as fetching, creation, updating and deleting resources

v1.5.1(4mo ago)11.6k↑50%3MITPHPPHP &gt;=8.3CI failing

Since Nov 23Pushed 4mo ago1 watchersCompare

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

READMEChangelog (10)Dependencies (10)Versions (44)Used By (3)

Slick JSON API implementation package
=====================================

[](#slick-json-api-implementation-package)

[![Latest Version](https://camo.githubusercontent.com/01f5cd9b12c672c044dda69025f75776660a1e2ccbb419daed0eec047edbe0a4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f736c69636b6672616d65776f726b2f6a736f6e2d6170692e7376673f7374796c653d666c61742d737175617265)](https://github.com/slickframework/json-api/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/cb8753b1a1bfcf5be6a7e44a689def2abbb93d3ebfaeb3bf394a6e631bc518ce/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736c69636b6672616d65776f726b2f6a736f6e2d6170692f636f6e74696e756f75732d696e746567726174696f6e2e796d6c3f7374796c653d666c61742d737175617265)](https://github.com/slickframework/jso-api/actions/workflows/continuous-integration.yml)[![Total Downloads](https://camo.githubusercontent.com/e907de1a0782471651b85b075d8b30c1f560f1fcd337df8e2b234802478d23a9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736c69636b2f6a736f6e2d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/slick/json-api)

The `slick/json-api` library implements the [JSON:API 1.1 specification](https://jsonapi.org/format/1.1) and a [Slick module](https://www.slick-framework.com/documentation/modules.html). It supports a wide range of features, including content negotiation, error handling, pagination, and resource operations like fetching, creating, updating, and deleting.

This package is compliant with PSR-2 code standards and PSR-4 autoload standards. It also applies the [semantic version 2.0.0](http://semver.org) specification.

Install
-------

[](#install)

To integrate `slick/json-api` into your application, install it via Composer.

```
composer require slick/json-api
```

Usage
-----

[](#usage)

Please check [documentation site](https://www.slick-framework.com/modules/json-api.html) for a complete reference.

Testing
-------

[](#testing)

We use [PHPSpec](http://www.phpspec.net/) for unit testing.

```
# unit tests
$ vendor/bin/phpspec
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Slick framework](https://github.com/slickframework)
- [All Contributors](https://github.com/slickframework/json-api/graphs/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance78

Regular maintenance activity

Popularity22

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~45 days

Recently: every ~114 days

Total

42

Last Release

122d ago

Major Versions

v0.11.2 → v1.0.02023-04-20

PHP version history (4 changes)v0.1.0PHP &gt;=7.2

0.8.0PHP &gt;=8.0

1.2.0PHP &gt;=8.1

v1.5.0PHP &gt;=8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/85bd1fa7a4f7351fdd6fd799684e9adf215c57d26512e9b212a8dd89aca8de1f?d=identicon)[fsilva](/maintainers/fsilva)

---

Top Contributors

[![silvamfilipe](https://avatars.githubusercontent.com/u/5720969?v=4)](https://github.com/silvamfilipe "silvamfilipe (185 commits)")

---

Tags

json-apipsr-15psr-7slick-phpslick-php-modules

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M647](/packages/sylius-sylius)[neos/flow

Flow Application Framework

862.0M449](/packages/neos-flow)[neos/flow-development-collection

Flow packages in a joined repository for pull requests.

144179.3k3](/packages/neos-flow-development-collection)[windwalker/framework

The next generation PHP framework.

25639.1k1](/packages/windwalker-framework)[oat-sa/tao-core

TAO core extension

66136.7k74](/packages/oat-sa-tao-core)

PHPackages © 2026

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