PHPackages                             m-porter/json-result - 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. m-porter/json-result

ActiveLibrary[API Development](/categories/api)

m-porter/json-result
====================

Enforce consistent JSON responses in your Laravel APIs

v0.1.1(7y ago)06MITPHPPHP &gt;=7.0

Since Mar 15Pushed 7y agoCompare

[ Source](https://github.com/M-Porter/json-result)[ Packagist](https://packagist.org/packages/m-porter/json-result)[ RSS](/packages/m-porter-json-result/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Json Result
===========

[](#json-result)

Enforce consistent JSON responses in your Laravel APIs. Loosely based on the [jsonapi.org](https://jsonapi.org/format/#document-top-level) standard.

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

[](#installation)

Require this package with composer.

```
composer require m-porter/json-result

```

###  Health Score

21

—

LowBetter than 17% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

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

Total

2

Last Release

2709d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4a922d75a25da8f123c015bff8952888b56e10384fe6cbb807ba5a59a830bc4a?d=identicon)[m-porter](/maintainers/m-porter)

---

Top Contributors

[![M-Porter](https://avatars.githubusercontent.com/u/2313263?v=4)](https://github.com/M-Porter "M-Porter (2 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/m-porter-json-result/health.svg)

```
[![Health](https://phpackages.com/badges/m-porter-json-result/health.svg)](https://phpackages.com/packages/m-porter-json-result)
```

###  Alternatives

[defstudio/telegraph

A laravel facade to interact with Telegram Bots

818355.4k3](/packages/defstudio-telegraph)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.4M354](/packages/psalm-plugin-laravel)[flat3/lodata

OData v4.01 Producer for Laravel

100357.6k](/packages/flat3-lodata)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5226.7k](/packages/simplestats-io-laravel-client)[api-platform/laravel

API Platform support for Laravel

58190.1k21](/packages/api-platform-laravel)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1349.3k1](/packages/jasara-php-amzn-selling-partner-api)

PHPackages © 2026

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