https://github.com/brokeyourbike/zenith-bank-api-client-php
Zenith Bank API Client for PHP (direct debit)
https://github.com/brokeyourbike/zenith-bank-api-client-php
api api-client api-client-php hacktoberfest nigeria-api php php8 zenith-bank zenithbank
Last synced: 12 months ago
JSON representation
Zenith Bank API Client for PHP (direct debit)
- Host: GitHub
- URL: https://github.com/brokeyourbike/zenith-bank-api-client-php
- Owner: brokeyourbike
- License: mpl-2.0
- Created: 2021-10-29T17:11:15.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-07T08:21:44.000Z (over 2 years ago)
- Last Synced: 2025-06-08T08:38:19.169Z (about 1 year ago)
- Topics: api, api-client, api-client-php, hacktoberfest, nigeria-api, php, php8, zenith-bank, zenithbank
- Language: PHP
- Homepage: https://zenithbank.com
- Size: 63.5 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# zenith-bank-api-client
[](https://github.com/brokeyourbike/zenith-bank-api-client-php/releases)
[](https://packagist.org/packages/brokeyourbike/zenith-bank-api-client)
[](https://codeclimate.com/github/brokeyourbike/zenith-bank-api-client-php/maintainability)
[](https://codeclimate.com/github/brokeyourbike/zenith-bank-api-client-php/test_coverage)
Zenith Bank API Client for PHP
## Installation
```bash
composer require brokeyourbike/zenith-bank-api-client
```
## Usage
```php
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
- [Ivan Stasiuk](https://github.com/brokeyourbike) | [Twitter](https://twitter.com/brokeyourbike) | [LinkedIn](https://www.linkedin.com/in/brokeyourbike) | [stasi.uk](https://stasi.uk)
## License
[Mozilla Public License v2.0](https://github.com/brokeyourbike/zenith-bank-api-client-php/blob/main/LICENSE)