Rest Response
Extended response classes for Rest API clients/SDKs.
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.
Requirements
- PHP >= 7.2
- Guzzlehttp ~6|~7
Installation
Via Composer.
PHP 7.2+:
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
I will document it when i have strength