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

ActiveLibrary[API Development](/categories/api)

dorgaren/laravel-json-api
=========================

Legacy (0.x) JSON API (jsonapi.org) support for Laravel applications

v0.14.1(6y ago)076Apache-2.0PHPPHP ^5.6|^7.0

Since Oct 6Pushed 6y agoCompare

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

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

dorgaren/laravel-json-api
=========================

[](#dorgarenlaravel-json-api)

**This package is a fork of *cloudcreativity/laravel-json-api*. It is created to maintain *backwards compatibility* with 0.x versions.**

Reasons:

- there is no upgrade guide nor changelog from 0.x to 1.x;
- the architecture has been changed radically, even to the point where classes become *final*;
- there is no clear (nor unclear) reasoning behind architectural decisions;
- 0.13 being the last 0.x version released; and
- 0.13 being incompatible with Laravel 5.8+.

Since currently I have to maintain at least one project that has been created when the last version was 0.12.0, extending classes that have become *final*, and also the package's architecture posing serious questions towards possible use cases having been had considered, I figured it is easier to revamp the original branch than upgrading any projects just yet.

If you face similar problems, *feel free to use this fork*. I can, while being around, guarantee that I will bump versions and even make minor modifications necessary to keep this compatible with new Laravel versions, and also that *I will respond* when I deem anything further infeasible or unlikely.

**For any new, fresh "greenfield" projects, though, it is advisable that you use the mainline package, either 1.x or 2.0 when it will become final.**

---

Add [jsonapi.org](http://jsonapi.org) compliant APIs to your Laravel 5 application. Based on the framework agnostic packages [neomerx/json-api](https://github.com/neomerx/json-api)and [cloudcreativity/json-api](https://github.com/cloudcreativity/json-api).

What is JSON API?
-----------------

[](#what-is-json-api)

From [jsonapi.org](http://jsonapi.org)

> If you've ever argued with your team about the way your JSON responses should be formatted, JSON API is your anti-bikeshedding weapon.
>
> By following shared conventions, you can increase productivity, take advantage of generalized tooling, and focus on what matters: your application. Clients built around JSON API are able to take advantage of its features around efficiently caching responses, sometimes eliminating network requests entirely.

For full information on the spec, plus examples, see

Demo
----

[](#demo)

A demo application is available at [here](https://github.com/cloudcreativity/demo-laravel-json-api).

Laravel Versions
----------------

[](#laravel-versions)

LaravelThis Package5.4.\*^0.135.5.\*^0.135.6.\*^0.135.7.\*^0.13Make sure you consult the [Upgrade Guide](http://laravel-json-api.readthedocs.io/en/latest/upgrade/) when upgrading.

Lumen
-----

[](#lumen)

Currently we have not integrated the package with Lumen. If you use Lumen and can help, please let us know on [this issue](https://github.com/cloudcreativity/laravel-json-api/issues/61).

Documentation
-------------

[](#documentation)

Documentation is available on [Read the Docs](http://laravel-json-api.readthedocs.io/en/latest/).

Status
------

[](#status)

This repository is under development. We have production applications that are using the package and extensive test coverage of these applications.

> We are aiming for v1.0 as soon as possible. See [this issue](https://github.com/cloudcreativity/laravel-json-api/issues/60) for progress.

License
-------

[](#license)

Apache License (Version 2.0). Please see [License File](LICENSE) for more information.

Installation
------------

[](#installation)

Installation is via `composer`. See the documentation for complete instructions.

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

[](#contributing)

Contributions are absolutely welcome. Ideally submit a pull request, even more ideally with unit tests. Please note the following:

- **Bug Fixes** - submit a pull request against the `master` branch.
- **Enhancements / New Features** - submit a pull request against the `develop` branch.

We recommend submitting an issue before taking the time to put together a pull request.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.1% 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

Unknown

Total

1

Last Release

2407d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/072ad1b67af7af362028c51766f9950bf76258b9100cd9066c43680b62525490?d=identicon)[strongholdmedia](/maintainers/strongholdmedia)

---

Top Contributors

[![lindyhopchris](https://avatars.githubusercontent.com/u/4464333?v=4)](https://github.com/lindyhopchris "lindyhopchris (318 commits)")[![jstoone](https://avatars.githubusercontent.com/u/1711456?v=4)](https://github.com/jstoone "jstoone (8 commits)")[![GIANTCRAB](https://avatars.githubusercontent.com/u/1075708?v=4)](https://github.com/GIANTCRAB "GIANTCRAB (6 commits)")[![pedroluislopez](https://avatars.githubusercontent.com/u/9784609?v=4)](https://github.com/pedroluislopez "pedroluislopez (4 commits)")[![strongholdmedia](https://avatars.githubusercontent.com/u/6557996?v=4)](https://github.com/strongholdmedia "strongholdmedia (4 commits)")[![MCMatters](https://avatars.githubusercontent.com/u/3148853?v=4)](https://github.com/MCMatters "MCMatters (2 commits)")[![GregPeden](https://avatars.githubusercontent.com/u/1343049?v=4)](https://github.com/GregPeden "GregPeden (2 commits)")[![m-bymike](https://avatars.githubusercontent.com/u/4008663?v=4)](https://github.com/m-bymike "m-bymike (1 commits)")[![its-schmii](https://avatars.githubusercontent.com/u/4619662?v=4)](https://github.com/its-schmii "its-schmii (1 commits)")[![dtr0yan](https://avatars.githubusercontent.com/u/1052805?v=4)](https://github.com/dtr0yan "dtr0yan (1 commits)")[![moneal](https://avatars.githubusercontent.com/u/46388?v=4)](https://github.com/moneal "moneal (1 commits)")[![stfnndrsn](https://avatars.githubusercontent.com/u/28970?v=4)](https://github.com/stfnndrsn "stfnndrsn (1 commits)")

---

Tags

jsonapilaraveljsonapiJSON-APIjsonapi.orgcloudcreativity

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[cloudcreativity/laravel-json-api

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

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

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M529](/packages/laravel-passport)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k25.9M106](/packages/laravel-cashier)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[cloudcreativity/json-api-testing

PHPUnit test helpers to check JSON API documents.

141.6M3](/packages/cloudcreativity-json-api-testing)[api-platform/laravel

API Platform support for Laravel

59126.4k5](/packages/api-platform-laravel)

PHPackages © 2026

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