brokeyourbike/fcmb-api-client

First City Monument Bank API Client for PHP

0.3.5 2023-05-14 22:21 UTC

This package is auto-updated.

Last update: 2024-09-20 14:29:56 UTC


README

Latest Stable Version Total Downloads Maintainability Test Coverage

First City Monument Bank API Client for PHP

Installation

composer require brokeyourbike/fcmb-api-client

Usage

use BrokeYourBike\FirstCityMonumentBank\Client;
use BrokeYourBike\FirstCityMonumentBank\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