brokeyourbike/union-bank-api-client

Union Bank API Client for PHP

0.2.3 2023-11-27 21:07 UTC

This package is auto-updated.

Last update: 2024-11-27 23:17:50 UTC


README

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