Skip to content

First City Monument Bank API Client for PHP

License

Notifications You must be signed in to change notification settings

brokeyourbike/fcmb-api-client-php

Repository files navigation

fcmb-api-client

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