brokeyourbike / termii-api-client
Termii 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
Requires (Dev)
- bamarni/composer-bin-plugin: ^1.4
- mockery/mockery: ^1.4
- phpunit/phpunit: ^9.5
README
Termii API Client for PHP
Installation
composer require brokeyourbike/termii-api-client
Usage
use BrokeYourBike\Termii\Client; use BrokeYourBike\Termii\Interface\ApiConfigInterface; assert($config instanceof ApiConfigInterface); assert($httpClient instanceof \GuzzleHttp\ClientInterface); $apiClient = new Client($config, $httpClient); $apiClient->fetchBalanceRaw();
Authors
- Ivan Stasiuk | Twitter | LinkedIn | stasi.uk