brokeyourbike/access-bank-api-client

Access Bank API Client for PHP

0.5.1 2024-03-31 12:07 UTC

This package is auto-updated.

Last update: 2024-12-01 00:20:11 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