Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.5 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.5 KB

access-bank-api-client

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