brokeyourbike/zenith-bank-api-client

Zenith Bank API Client for PHP

0.4.0 2024-02-22 22:38 UTC

This package is auto-updated.

Last update: 2024-09-07 09:35:29 UTC


README

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