Skip to content

brokeyourbike/termii-api-client-php

Repository files navigation

termii-api-client

Latest Stable Version Total Downloads Maintainability Test Coverage

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

License

Mozilla Public License v2.0