Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brokeyourbike/fcmb-api-client-php
First City Monument Bank API Client for PHP
https://github.com/brokeyourbike/fcmb-api-client-php
api api-client api-client-php fcmb first-city-monument-bank hacktoberfest nigeria-api php php8
Last synced: about 1 month ago
JSON representation
First City Monument Bank API Client for PHP
- Host: GitHub
- URL: https://github.com/brokeyourbike/fcmb-api-client-php
- Owner: brokeyourbike
- License: mpl-2.0
- Created: 2021-10-22T19:20:21.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-20T11:37:27.000Z (over 1 year ago)
- Last Synced: 2024-09-30T18:10:47.742Z (about 1 month ago)
- Topics: api, api-client, api-client-php, fcmb, first-city-monument-bank, hacktoberfest, nigeria-api, php, php8
- Language: PHP
- Homepage: https://fcmb.com
- Size: 69.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# fcmb-api-client
[![Latest Stable Version](https://img.shields.io/github/v/release/brokeyourbike/fcmb-api-client-php)](https://github.com/brokeyourbike/fcmb-api-client-php/releases)
[![Total Downloads](https://poser.pugx.org/brokeyourbike/fcmb-api-client/downloads)](https://packagist.org/packages/brokeyourbike/fcmb-api-client)
[![Maintainability](https://api.codeclimate.com/v1/badges/d38ab570bbbdbe2ac34e/maintainability)](https://codeclimate.com/github/brokeyourbike/fcmb-api-client-php/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/d38ab570bbbdbe2ac34e/test_coverage)](https://codeclimate.com/github/brokeyourbike/fcmb-api-client-php/test_coverage)First City Monument Bank API Client for PHP
## Installation
```bash
composer require brokeyourbike/fcmb-api-client
```## Usage
```php
use BrokeYourBike\FirstCityMonumentBank\Client;
use BrokeYourBike\FirstCityMonumentBank\Interfaces\ConfigInterface;assert($config instanceof ConfigInterface);
assert($httpClient instanceof \GuzzleHttp\ClientInterface);
assert($psrCache instanceof \Psr\SimpleCache\CacheInterface);$apiClient = new Client($config, $httpClient, $psrCache);
$apiClient->fetchAuthTokenRaw();
```## 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/fcmb-api-client-php/blob/main/LICENSE)