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 yesterday

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 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

1840d 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://www.gravatar.com/avatar/6e3a2a3e9fc5cae30c64e7464e99afc779df1e17b332a6076ec231df34630c53?d=identicon)[thekavish](/maintainers/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

[spatie/laravel-query-builder

Easily build Eloquent queries from API requests

4.4k26.9M220](/packages/spatie-laravel-query-builder)[essa/api-tool-kit

set of tools to build an api with laravel

52680.5k](/packages/essa-api-tool-kit)[esign/laravel-conversions-api

A laravel wrapper package around the Facebook Conversions API

69145.4k](/packages/esign-laravel-conversions-api)[surface/laravel-webfinger

A Laravel package to create an ActivityPub webfinger.

113.8k](/packages/surface-laravel-webfinger)

PHPackages © 2026

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