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

ActiveLibrary[API Development](/categories/api)

webcoder01/json-api
===================

A framework-agnostic library designed to use HTTP requests with ease in accordance with the JSON:API specification.

v1.3.0(7mo ago)091MITPHPPHP &gt;=8.1

Since Aug 2Pushed 1w agoCompare

[ Source](https://github.com/webcoder01/json-api)[ Packagist](https://packagist.org/packages/webcoder01/json-api)[ RSS](/packages/webcoder01-json-api/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (4)Versions (6)Used By (0)

About
=====

[](#about)

Json-Api is a framework-agnostic library that normalizes responses of your API in a standardized way based on the JSON:API specification. Also, it handles pagination and sorting by automatically parsing the request URL. You can use it in a vanilla PHP project or in any PHP framework.

For more information about the JSON:API specification, go to .

Features
--------

[](#features)

- Generation of success and error responses
- Pagination specified in requests
- Sorting specified in requests

Installation
============

[](#installation)

```
composer require webcoder01/json-api

```

Usage
=====

[](#usage)

If you want to learn more about request parsing, go to this [page](docs/QUERY_PARSING.md).

If you want to know how to generate a response, go to this [page](docs/RESPONSE_GENERATION.md).

###  Health Score

39

—

LowBetter than 85% of packages

Maintenance82

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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

Total

5

Last Release

229d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a913253b9d82afb9ade04fbcb1637adb24d1eac35b3aa84eff35bc05a211966?d=identicon)[webcoder01](/maintainers/webcoder01)

---

Top Contributors

[![webcoder01](https://avatars.githubusercontent.com/u/18551924?v=4)](https://github.com/webcoder01 "webcoder01 (5 commits)")

---

Tags

phpjsonJSON-API

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[stymiee/authnetjson

Library that abstracts Authorize.Net's JSON APIs. This includes the Advanced Integration Method (AIM), Automated Recurring Billing (ARB), Customer Information Manager (CIM), Transaction Reporting, Simple Integration Method (SIM), and Webhooks.

19585.5k](/packages/stymiee-authnetjson)[obiefy/api-response

Simple Laravel package to return Json responses.

17324.9k](/packages/obiefy-api-response)[alsvanzelf/jsonapi

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

55155.4k6](/packages/alsvanzelf-jsonapi)[cloudcreativity/json-api-testing

PHPUnit test helpers to check JSON API documents.

141.7M4](/packages/cloudcreativity-json-api-testing)[wayofdev/laravel-symfony-serializer

📦 Laravel wrapper around Symfony Serializer.

2116.2k](/packages/wayofdev-laravel-symfony-serializer)[dystcz/lunar-api

Dystore API layer for Lunar e-commerce package

411.2k3](/packages/dystcz-lunar-api)

PHPackages © 2026

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