Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)