Skip to content

brokeyourbike/union-bank-api-client-php

Repository files navigation

union-bank-api-client

Latest Stable Version Total Downloads Maintainability Test Coverage

Union Bank API Client for PHP

Installation

composer require brokeyourbike/union-bank-api-client

Usage

use BrokeYourBike\UnionBank\Client;
use BrokeYourBike\UnionBank\Interfaces\ConfigInterface;

assert($config instanceof ConfigInterface);
assert($httpClient instanceof \GuzzleHttp\ClientInterface);
assert($cache instanceof \Psr\SimpleCache\CacheInterface);

$apiClient = new Client($config, $httpClient, $cache);
$apiClient->fetchToken();

Authors

License

Mozilla Public License v2.0