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

ActiveLibrary

erykai/response
===============

Response json, array and object with translation into any language

v1.1.0(3y ago)0921MITPHPPHP &gt;=8.0

Since Aug 12Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Erykai/response)[ Packagist](https://packagist.org/packages/erykai/response)[ GitHub Sponsors](https://github.com/Erykai)[ RSS](/packages/erykai-response/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (1)

response
========

[](#response)

[![Maintainer](https://camo.githubusercontent.com/8d0c30a6e6bb0e588086373acb7d3cb9c1ff2135f91a52d1a7a99a8670aa1090/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d40616c657864656f766964616c2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://instagram.com/alexdeovidal)[![Source Code](https://camo.githubusercontent.com/eb87c93d8211093705e343bca9579f5a51d35ac7a0df13e707b9f5ba332f729a/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d6572796b61692f726573706f6e73652d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/erykai/response)[![PHP from Packagist](https://camo.githubusercontent.com/2850d9c9337d105f01b0112748b1eb209b5d65bfacd652522147da6aac7391a2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6572796b61692f726573706f6e73652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/erykai/response)[![Latest Version](https://camo.githubusercontent.com/105cdaf03a909a626a8e034b3799bbd7e639721bb73b1aee1593057c3824350d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6572796b61692f726573706f6e73652e7376673f7374796c653d666c61742d737175617265)](https://github.com/erykai/response/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Quality Score](https://camo.githubusercontent.com/57b4a63e5df0c7c09f2df92d46dfef196c4c0861fbc3999c7170910a09f59840/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6572796b61692f726573706f6e73652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/erykai/response)[![Total Downloads](https://camo.githubusercontent.com/fa96a5a646ec3cf8bf4d7a3a7b50868f064356fde46de97289a876f5e7dfc16d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6572796b61692f726573706f6e73652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/erykai/response)

Receive an object and return it as an array, json or object

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

[](#installation)

Composer:

```
"erykai/response": "1.1.*"
```

Terminal

```
composer require erykai/response
```

Response Json

```
use Erykai\Response\Response;
require "vendor/autoload.php";
$response = new Response();

$data = new stdClass();
$data->code = 200;
$data->type = 'success';
$data->message = "hello my name is alex vidal and my email is contato@webav.com.br";
$data->data = null;
$data->dynamic = "contato@webav.com.br";

echo $response->data($data)->json();
print_r($response->data($data)->array());
print_r($response->data($data)->object());
```

Contribution
------------

[](#contribution)

All contributions will be analyzed, if you make more than one change, make the commit one by one.

Support
-------

[](#support)

If you find faults send an email reporting to .

Credits
-------

[](#credits)

- [Alex de O. Vidal](https://github.com/alexdeovidal) (Developer)
- [All contributions](https://github.com/erykai/response/contributors) (Contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License](https://github.com/erykai/response/LICENSE) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Total

3

Last Release

1323d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f1795fc67d400661b64ca8a84adeabe383f32b2925daed4d63ec0ef51f14837f?d=identicon)[alexdeovidal](/maintainers/alexdeovidal)

---

Top Contributors

[![alexdeovidal](https://avatars.githubusercontent.com/u/8947446?v=4)](https://github.com/alexdeovidal "alexdeovidal (6 commits)")

### Embed Badge

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

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

PHPackages © 2026

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