PHPackages                             thekavish/laravel-api-response - 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. thekavish/laravel-api-response

ActiveLibrary[API Development](/categories/api)

thekavish/laravel-api-response
==============================

Formatted API response for Laravel projects

v2.0.2(5y ago)147MITPHPPHP ^7.3

Since Apr 4Pushed 5y ago1 watchersCompare

[ Source](https://github.com/thekavish/laravel-api-response)[ Packagist](https://packagist.org/packages/thekavish/laravel-api-response)[ RSS](/packages/thekavish-laravel-api-response/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

APIResponse trait for my laravel projects
=========================================

[](#apiresponse-trait-for-my-laravel-projects)

Add `use HasAPIResponse` to the controller you want structured responses from.
------------------------------------------------------------------------------

[](#add-use-hasapiresponse-to-the-controller-you-want-structured-responses-from)

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Total

5

Last Release

1893d ago

Major Versions

1.0.1 → v2.0.02021-04-12

PHP version history (2 changes)v1.0.0PHP ^7.3|^8.0

v2.0.0PHP ^7.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3951172?v=4)[Kavish](/maintainers/thekavish)[@thekavish](https://github.com/thekavish)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/thekavish-laravel-api-response/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.3k3](/packages/defstudio-telegraph)[api-platform/laravel

API Platform support for Laravel

58171.4k14](/packages/api-platform-laravel)[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.

5021.9k](/packages/simplestats-io-laravel-client)[jasara/php-amzn-selling-partner-api

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

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

PHPackages © 2026

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