PHPackages                             cfxmarkets/php-jsonapi-transport - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. cfxmarkets/php-jsonapi-transport

ActiveLibrary[HTTP &amp; Networking](/categories/http)

cfxmarkets/php-jsonapi-transport
================================

This package implements the JSON-API transport protocol specification (i.e., it enforces certain request and response parameters).

v0.7.1(7y ago)0320MITPHPPHP &gt;=5.4

Since Sep 18Pushed 7y ago6 watchersCompare

[ Source](https://github.com/cfxmarkets/php-jsonapi-transport)[ Packagist](https://packagist.org/packages/cfxmarkets/php-jsonapi-transport)[ RSS](/packages/cfxmarkets-php-jsonapi-transport/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (1)Dependencies (3)Versions (14)Used By (0)

JSON-API Transport
==================

[](#json-api-transport)

*A class that provides a PHP implementation of JSON API transport objects. Note, while this includes an implementation of JsonApi objects as a dependency, it focuses specifically on classes that implement the *transport protocol* defined in the [json-api spec](http://jsonapi.org/format/).*

Overview
--------

[](#overview)

This package focuses on implementing Request and Response classes that make it easier to validate incoming and outgoing JSON-API messages. It defines interfaces that extend `PSR-7`, a set of traits that may be used to implement these extensions, and a set of concrete classes extended from [Guzzle's PSR-7 implementation](https://github.com/guzzle/psr7).

Usage
-----

[](#usage)

Most of the time, this will be used to receive requests from an API client. To do this, you'll create a `ServerRequest` object, then add the incoming JsonApi document using `withJsonApiDoc`. (**Note:** Guzzle's original implementation doesn't support use of the `ServerRequest::fromGlobals` method to instantiate derivative objects. To use this, you'll have to use a modified implementation, such as my fork at . See the discussion [here](https://github.com/guzzle/psr7/pull/158).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

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

Recently: every ~112 days

Total

13

Last Release

2659d ago

PHP version history (3 changes)v0.1PHP &gt;=5.4 &lt;7.1

v0.1.1PHP &gt;=7.1

v0.5.0PHP &gt;=5.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/b76588c1d06ed54f5f5fe06e466d044b0527eb6e1b68a8e3dccd13e447fa43eb?d=identicon)[kael-shipman](/maintainers/kael-shipman)

---

Top Contributors

[![kael-shipman](https://avatars.githubusercontent.com/u/3475586?v=4)](https://github.com/kael-shipman "kael-shipman (2 commits)")

---

Tags

apirestjsonapiJSON-API

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cfxmarkets-php-jsonapi-transport/health.svg)

```
[![Health](https://phpackages.com/badges/cfxmarkets-php-jsonapi-transport/health.svg)](https://phpackages.com/packages/cfxmarkets-php-jsonapi-transport)
```

###  Alternatives

[api-platform/hydra

API Hydra support

223.3M8](/packages/api-platform-hydra)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[onesignal/onesignal-php-api

A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com

34170.2k2](/packages/onesignal-onesignal-php-api)[ory/hydra-client

Documentation for all of Ory Hydra's APIs.

17435.9k](/packages/ory-hydra-client)[floor9design/json-api-formatter

A set of classes that allow for creating JSON API compliant objects

1231.2k](/packages/floor9design-json-api-formatter)

PHPackages © 2026

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