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)216.3k↓50%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 1mo 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

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity38

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

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

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[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)
