PHPackages                             huntie/laravel-simple-jsonapi - 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. huntie/laravel-simple-jsonapi

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

huntie/laravel-simple-jsonapi
=============================

JSON API support for Laravel

0.3.1(9y ago)4375MITPHPPHP &gt;=5.5.9

Since May 3Pushed 7y ago1 watchersCompare

[ Source](https://github.com/huntie/laravel-simple-jsonapi)[ Packagist](https://packagist.org/packages/huntie/laravel-simple-jsonapi)[ Docs](https://github.com/huntie/laravel-simple-jsonapi)[ RSS](/packages/huntie-laravel-simple-jsonapi/feed)WikiDiscussions 1.0.0-alpha Synced 3w ago

READMEChangelog (10)Dependencies (11)Versions (33)Used By (0)

[![](./banner.png)](./banner.png)

laravel-simple-jsonapi
======================

[](#laravel-simple-jsonapi)

[![Build status](https://camo.githubusercontent.com/e1b34d8045cc7c4b762814dbfb95840f50eef37d9352917b0a1e7b916ab34b7a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f68756e7469652f6c61726176656c2d73696d706c652d6a736f6e6170692e7376673f6d61784167653d3630267374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/huntie/laravel-simple-jsonapi/build-status/1.0.0-alpha)[![Code quality](https://camo.githubusercontent.com/4d2635a5f9cdb67afc4c3a6375d2f3f34ad70828659ffa26d19d593d53da69b8/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f68756e7469652f6c61726176656c2d73696d706c652d6a736f6e6170692e7376673f6d61784167653d3630267374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/huntie/laravel-simple-jsonapi)[![Packagist](https://camo.githubusercontent.com/2c70fdb4ce73acf1aac162f209d99181ebe61b391dd2b7f95eeccc08904be786/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f68756e7469652f6c61726176656c2d73696d706c652d6a736f6e6170692e7376673f6d61784167653d3630267374796c653d666c61742d737175617265)](https://packagist.org/packages/huntie/laravel-simple-jsonapi)[![License](https://camo.githubusercontent.com/e5f52de8707987c7100caa7e6a78107f517e6cc52d714ddd1265b58c8060182f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f6d61784167653d32353932303030267374796c653d666c61742d737175617265)](https://github.com/huntie/laravel-simple-jsonapi/blob/master/LICENSE.txt)

An implementation of the [JSON API](http://jsonapi.org/) specification for Laravel, allowing developers to add fully-functional JSON API endpoints to their project with minimal configuration.

> This is the **1.0.0-alpha** branch – the upcoming major release and documentation are currently in progress.

Features
--------

[](#features)

- Simple API route resource definitions
- A base controller providing full JSON API resource endpoints
- Effortless transformation of Eloquent models and relationships to JSON API documents
- Formatting of error and request validation responses
- Configurable options for includable relationships, pagination and more
- Test assertion helpers

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

[](#installation)

```
$ composer require huntie/laravel-simple-jsonapi

```

See further installation and configuration details in the [wiki](https://github.com/huntie/laravel-simple-jsonapi/wiki/Installation).

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

[](#documentation)

All usage information can be found in the [wiki](https://github.com/huntie/laravel-simple-jsonapi/wiki).

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

[](#contributing)

If you discover a problem or have a feature request, please [create an issue](https://github.com/huntie/laravel-simple-jsonapi/issues) or feel free to fork this repository and make improvements.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 99.5% 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 ~18 days

Total

28

Last Release

3197d ago

Major Versions

0.3.1 → 1.0.0-alpha2017-05-02

PHP version history (2 changes)0.1.0PHP &gt;=5.5.9

1.0.0-alphaPHP &gt;=7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a521556d14c39cfdae1c0b650ef8e5510bc671701252c341871f5235a3398bb?d=identicon)[huntie](/maintainers/huntie)

---

Top Contributors

[![huntie](https://avatars.githubusercontent.com/u/2547783?v=4)](https://github.com/huntie "huntie (195 commits)")[![4lun](https://avatars.githubusercontent.com/u/933275?v=4)](https://github.com/4lun "4lun (1 commits)")

---

Tags

apijson-apilaravelrestserializertestbenchjsonapilaravelrestserializerjsonapitransformerJSON-API

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/huntie-laravel-simple-jsonapi/health.svg)

```
[![Health](https://phpackages.com/badges/huntie-laravel-simple-jsonapi/health.svg)](https://phpackages.com/packages/huntie-laravel-simple-jsonapi)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[api-platform/laravel

API Platform support for Laravel

59156.3k11](/packages/api-platform-laravel)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

76518.2M120](/packages/laravel-mcp)[laravel/cashier

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

2.5k28.4M137](/packages/laravel-cashier)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9742.3M121](/packages/roots-acorn)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45344.0k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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