brokeyourbike / fcmb-api-client
First City Monument Bank API Client for PHP
Fund package maintenance!
brokeyourbike
Open Collective
Requires
- php: ^8.1
- brokeyourbike/data-transfer-object: ^0.2
- brokeyourbike/has-source-model: ^2.0
- brokeyourbike/http-client: ^1.0
- brokeyourbike/http-enums: ^2.0
- brokeyourbike/resolve-uri: ^1.0
- psr/simple-cache: ^1.0
Requires (Dev)
- bamarni/composer-bin-plugin: ^1.4
- mockery/mockery: ^1.4
- nesbot/carbon: ^2
- phpunit/phpunit: ^9
README
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
- Ivan Stasiuk | Twitter | LinkedIn | stasi.uk