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

ActiveLibrary[API Development](/categories/api)

playkids/api-response
=====================

Simple Api Response Library

1.0.2(3y ago)045MITPHPPHP &gt;=7.4CI failing

Since Nov 23Pushed 3y ago1 watchersCompare

[ Source](https://github.com/PlayKids/api-response)[ Packagist](https://packagist.org/packages/playkids/api-response)[ RSS](/packages/playkids-api-response/feed)WikiDiscussions develop Synced yesterday

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

About
-----

[](#about)

This is a simple project with the proposition to be a lib for apis and easy to develop. Principal use in your Laravel Project

### To use in your project:

[](#to-use-in-your-project)

First needed to install the library, run follow command:

- `composer require playkids/simple-response`

To use in your Laravel Project, follow steps:
---------------------------------------------

[](#to-use-in-your-laravel-project-follow-steps)

on `App\Http\Controllers\Controller`;

Insert in your constructor this code

```
protected $response;

public function __construct()
{
    $this->response = new ApiResponse();
}

```

After this All Your controllers with extends Controller can access ApiResponse methods

```
class ExampleController extends Controller
{
    public function example()
    {
        return $this->response->successResponse('data');
    }
}

```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Total

3

Last Release

1299d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/241a58a4ba232761b4c8631874da91f21254bd06b1dbf310c2cc8c134b5979cd?d=identicon)[maycon-oliveira-playkids](/maintainers/maycon-oliveira-playkids)

---

Top Contributors

[![maycon-ricardo-playkids](https://avatars.githubusercontent.com/u/103073686?v=4)](https://github.com/maycon-ricardo-playkids "maycon-ricardo-playkids (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M985](/packages/statamic-cms)[illuminate/routing

The Illuminate Routing package.

1419.2M3.0k](/packages/illuminate-routing)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.6k3](/packages/defstudio-telegraph)[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)

PHPackages © 2026

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