Skip to content

Zenith Bank API Client for PHP (direct debit)

License

Notifications You must be signed in to change notification settings

brokeyourbike/zenith-bank-api-client-php

Repository files navigation

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