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

ActiveLibrary

jeykeu/response
===============

Response is an helper class which handles HTTP response, status codes and messages returned from different functions. Useful for unifiying API responses.

v1.0(5y ago)1291MITPHPPHP &gt;=5.3.0CI failing

Since Dec 6Pushed 5y agoCompare

[ Source](https://github.com/JunaidQadirB/Response)[ Packagist](https://packagist.org/packages/jeykeu/response)[ Docs](http://junaidqadir.com)[ RSS](/packages/jeykeu-response/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Response
========

[](#response)

Response is tiny PHP package which handles HTTP response, status codes and messages returned from different functions. Useful for unifiying API responses.

Installation
============

[](#installation)

```
$ composer require jq/response
```

Laravel 5 Configuration
=======================

[](#laravel-5-configuration)

Add the following line to the `providers` array in `app/config.php`

```
JunaidQadir\Response\ResponseServiceProvider::class
```

And the the following line to the `aliases` array in `app/config.php`

```
'AjaxResponse' => JunaidQadir\Response\ResponseFacade::class
```

Standard PHP Usage
==================

[](#standard-php-usage)

to return json in response of an AJAX request

```
$response     = new \JunaidQadir\Response\Response();
echo $response->json('success', 'Thank You');
exit;
```

Laravel5 Usage
==============

[](#laravel5-usage)

```
echo AjaxResponse::json('success', 'Thank You');
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 61.1% 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

Unknown

Total

1

Last Release

1985d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/036c801930da96f0e1fdf3da1651b8e7e94dcaa4b756f2af80f66a2c94867f63?d=identicon)[jq](/maintainers/jq)

---

Top Contributors

[![JunaidQadirB](https://avatars.githubusercontent.com/u/642353?v=4)](https://github.com/JunaidQadirB "JunaidQadirB (11 commits)")[![azeemhassni](https://avatars.githubusercontent.com/u/6503258?v=4)](https://github.com/azeemhassni "azeemhassni (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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