https://github.com/brokeyourbike/access-bank-api-client-php
Access Bank API Client for PHP
https://github.com/brokeyourbike/access-bank-api-client-php
access-bank api api-client api-client-php hacktoberfest http-client nigeria-api php php8
Last synced: 7 months ago
JSON representation
Access Bank API Client for PHP
- Host: GitHub
- URL: https://github.com/brokeyourbike/access-bank-api-client-php
- Owner: brokeyourbike
- License: mpl-2.0
- Created: 2021-10-22T14:59:56.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-31T12:07:19.000Z (almost 2 years ago)
- Last Synced: 2025-06-01T15:51:26.111Z (8 months ago)
- Topics: access-bank, api, api-client, api-client-php, hacktoberfest, http-client, nigeria-api, php, php8
- Language: PHP
- Homepage: https://accessbankplc.com
- Size: 56.6 KB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# access-bank-api-client
[](https://github.com/brokeyourbike/access-bank-api-client-php/releases)
[](https://packagist.org/packages/brokeyourbike/access-bank-api-client)
[](https://codeclimate.com/github/brokeyourbike/access-bank-api-client-php/maintainability)
[](https://codeclimate.com/github/brokeyourbike/access-bank-api-client-php/test_coverage)
Access Bank API Client for PHP
## Installation
```bash
composer require brokeyourbike/access-bank-api-client
```
## Usage
```php
use BrokeYourBike\AccessBank\Client;
use BrokeYourBike\AccessBank\Interfaces\ConfigInterface;
assert($config instanceof ConfigInterface);
assert($httpClient instanceof \GuzzleHttp\ClientInterface);
assert($psrCache instanceof \Psr\SimpleCache\CacheInterface);
$apiClient = new Client($config, $httpClient, $psrCache);
$apiClient->fetchAuthTokenRaw();
```
## 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/access-bank-api-client-php/blob/main/LICENSE)