Skip to content

brokeyourbike/access-bank-api-client-php

Repository files navigation

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