https://github.com/brokeyourbike/termii-api-client-php
Termii API Client for PHP
https://github.com/brokeyourbike/termii-api-client-php
api-client api-client-php hacktoberfest http-client nigeria-api php php8 termii termii-php
Last synced: 7 months ago
JSON representation
Termii API Client for PHP
- Host: GitHub
- URL: https://github.com/brokeyourbike/termii-api-client-php
- Owner: brokeyourbike
- License: mpl-2.0
- Created: 2021-10-21T15:01:11.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-05-30T17:21:59.000Z (8 months ago)
- Last Synced: 2025-06-08T08:38:18.843Z (8 months ago)
- Topics: api-client, api-client-php, hacktoberfest, http-client, nigeria-api, php, php8, termii, termii-php
- Language: PHP
- Homepage: https://termii.com
- Size: 59.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# termii-api-client
[](https://github.com/brokeyourbike/termii-api-client-php/releases)
[](https://packagist.org/packages/brokeyourbike/termii-api-client)
[](https://codeclimate.com/github/brokeyourbike/termii-api-client-php/maintainability)
[](https://codeclimate.com/github/brokeyourbike/termii-api-client-php/test_coverage)
Termii API Client for PHP
## Installation
```bash
composer require brokeyourbike/termii-api-client
```
## Usage
```php
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](https://github.com/brokeyourbike) | [Twitter](https://twitter.com/brokeyourbike) | [LinkedIn](https://www.linkedin.com/in/brokeyourbike) | [stasi.uk](https://stasi.uk)
## License
[Mozilla Public License v2.0](https://github.com/brokeyourbike/termii-api-client-php/blob/main/LICENSE)