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