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)027MITPHPPHP &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 1mo ago

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

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

1253d 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

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[essa/api-tool-kit

set of tools to build an api with laravel

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

Resend for Laravel

1191.4M6](/packages/resend-resend-laravel)[dragon-code/laravel-json-response

Automatically always return a response in JSON format

1118.6k1](/packages/dragon-code-laravel-json-response)[joggapp/laravel-aws-sns

Laravel package for the SNS events by AWS

3171.8k](/packages/joggapp-laravel-aws-sns)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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