brokeyourbike/access-bank-api-client

Access Bank API Client for PHP

0.5.0 2024-02-21 21:19 UTC

This package is auto-updated.

Last update: 2024-02-21 21:20:02 UTC


README

Latest Stable Version Total Downloads Maintainability Test Coverage

Access Bank API Client for PHP

Installation

composer require brokeyourbike/access-bank-api-client

Usage

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

License

Mozilla Public License v2.0