Zenith Bank API Client for PHP
composer require brokeyourbike/zenith-bank-api-client
use BrokeYourBike\ZenithBank\Client;
use BrokeYourBike\ZenithBank\Interfaces\ConfigInterface;
assert($config instanceof ConfigInterface);
assert($httpClient instanceof \GuzzleHttp\ClientInterface);
assert($psrCache instanceof \Psr\SimpleCache\CacheInterface);
$apiClient = new Client($config, $httpClient, $psrCache);
$apiClient->fetchAuthToken();
- Ivan Stasiuk | Twitter | LinkedIn | stasi.uk