Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.5 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.5 KB

zenith-bank-api-client

Latest Stable Version Total Downloads Maintainability Test Coverage

Zenith Bank API Client for PHP

Installation

composer require brokeyourbike/zenith-bank-api-client

Usage

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();

Authors

License

Mozilla Public License v2.0