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. [API Development](/categories/api)
4. /
5. slick/json-api

ActiveLibrary[API Development](/categories/api)

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(5mo ago)11.9k↓31.1%3MITPHPPHP &gt;=8.3CI failing

Since Nov 23Pushed 5mo 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 3w 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

51

—

FairBetter than 95% of packages

Maintenance70

Regular maintenance activity

Popularity22

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity82

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

167d 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://avatars.githubusercontent.com/u/101112?v=4)[fsilva](/maintainers/fsilva)[@fsilva](https://github.com/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

[sylius/sylius

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

8.5k5.8M712](/packages/sylius-sylius)[cakephp/cakephp

The CakePHP framework

8.8k19.1M1.7k](/packages/cakephp-cakephp)[thecodingmachine/graphqlite

Write your GraphQL queries in simple to write controllers (using webonyx/graphql-php).

5733.2M40](/packages/thecodingmachine-graphqlite)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35729.6k2](/packages/telnyx-telnyx-php)[chartmogul/chartmogul-php

ChartMogul API PHP Client

181.4M](/packages/chartmogul-chartmogul-php)[oat-sa/tao-core

TAO core extension

66140.1k108](/packages/oat-sa-tao-core)

PHPackages © 2026

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