PHPackages                             mane-olawale/rest-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. mane-olawale/rest-response

ActiveLibrary[API Development](/categories/api)

mane-olawale/rest-response
==========================

Base response classes for Rest API SDKs.

v0.1(4y ago)218.6k↑282.7%1MITPHP

Since Mar 28Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Mane-Olawale/rest-response)[ Packagist](https://packagist.org/packages/mane-olawale/rest-response)[ RSS](/packages/mane-olawale-rest-response/feed)WikiDiscussions main Synced 2w ago

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

[![Github](https://github.com/Mane-Olawale/rest-response/actions/workflows/tests.yml/badge.svg)](https://github.com/Mane-Olawale/rest-response)[![Total Downloads](https://camo.githubusercontent.com/cd7ed647645ed0542748331baae0fe44a423c3143c1e7e1a5aa8e479a8b80172/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f4d616e652d4f6c6177616c652f726573742d726573706f6e7365)](https://packagist.org/packages/Mane-Olawale/rest-response)[![Latest Stable Version](https://camo.githubusercontent.com/3cb1b47845856c7b5439582223d6eb6681fa78d7b52950b507ee9c6953091f10/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f4d616e652d4f6c6177616c652f726573742d726573706f6e7365)](https://packagist.org/packages/Mane-Olawale/rest-response)[![License](https://camo.githubusercontent.com/6a5ff5a12aeb460510e953e84d4dc928e86d31bc93fe8df6d22a3bf6f05c43cf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f4d616e652d4f6c6177616c652f726573742d726573706f6e7365)](https://packagist.org/packages/Mane-Olawale/rest-response)

Rest Response
=============

[](#rest-response)

 [![](https://raw.githubusercontent.com/Mane-Olawale/rest-response/main/sample.png "Usage Example")](https://raw.githubusercontent.com/Mane-Olawale/rest-response/main/sample.png)

Extended response classes for Rest API clients/SDKs.

About
-----

[](#about)

This package is intended to be component of SDKs so the responses can be easily worked with. it support callbacks for handling errors or success, provides methods to check status code better and working with lists and paginations.

Extends [Guzzle Response](https://github.com/guzzle/psr7/blob/master/src/Response.php).

Requirements
------------

[](#requirements)

- PHP &gt;= 7.2
- Guzzlehttp ~6|~7

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

[](#installation)

Via [Composer](https://getcomposer.org).

### PHP 7.2+:

[](#php-72)

```
composer require mane-olawale/rest-response
```

You now have Rest Response Classes in *vendor/mane-olawale/rest-response*

And an handy autoload file to include in your project in *vendor/autoload.php*

Usage
-----

[](#usage)

`I will document it when i have strength`

###  Health Score

27

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

1605d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4cdd5ab20a519718723a826066fab0fcb28bf76bd8fd68a4220d82545ef494e7?d=identicon)[mane\_olawale](/maintainers/mane_olawale)

---

Top Contributors

[![Mane-Olawale](https://avatars.githubusercontent.com/u/47121750?v=4)](https://github.com/Mane-Olawale "Mane-Olawale (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mane-olawale-rest-response/health.svg)

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k832.6k55](/packages/neuron-core-neuron-ai)[files.com/files-php-sdk

Files.com PHP SDK

2482.9k](/packages/filescom-files-php-sdk)[volcengine/volcengine-php-sdk

119.5k](/packages/volcengine-volcengine-php-sdk)

PHPackages © 2026

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