brokeyourbike / union-bank-api-client
Union 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|^3.0
Requires (Dev)
- bamarni/composer-bin-plugin: ^1.4
- larapack/dd: ^1.1
- mockery/mockery: ^1.4
- nesbot/carbon: ^2
- phpunit/phpunit: ^9.5
README
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
- Ivan Stasiuk | Twitter | LinkedIn | stasi.uk