brokeyourbike/termii-api-client

Termii API Client for PHP

0.3.4 2023-05-28 16:28 UTC

This package is auto-updated.

Last update: 2024-10-28 19:18:53 UTC


README

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