Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brokeyourbike/interswitch-api-client-php
Interswitch API Client for PHP
https://github.com/brokeyourbike/interswitch-api-client-php
api interswitch money-transfer nigeria-api php php8
Last synced: 3 months ago
JSON representation
Interswitch API Client for PHP
- Host: GitHub
- URL: https://github.com/brokeyourbike/interswitch-api-client-php
- Owner: brokeyourbike
- License: bsd-3-clause
- Created: 2024-08-07T07:17:28.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-09-02T20:29:14.000Z (5 months ago)
- Last Synced: 2024-09-29T20:01:59.293Z (4 months ago)
- Topics: api, interswitch, money-transfer, nigeria-api, php, php8
- Language: PHP
- Homepage: https://docs.interswitchgroup.com/docs
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# interswitch-api-client-php
[![Latest Stable Version](https://img.shields.io/github/v/release/brokeyourbike/interswitch-api-client-php)](https://github.com/brokeyourbike/interswitch-api-client-php/releases)
[![Total Downloads](https://poser.pugx.org/brokeyourbike/interswitch-api-client/downloads)](https://packagist.org/packages/brokeyourbike/interswitch-api-client)
[![Maintainability](https://api.codeclimate.com/v1/badges/dcc8ebb690c612c6452e/maintainability)](https://codeclimate.com/github/brokeyourbike/interswitch-api-client-php/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/dcc8ebb690c612c6452e/test_coverage)](https://codeclimate.com/github/brokeyourbike/interswitch-api-client-php/test_coverage)Interswitch API Client for PHP
## Installation
```bash
composer require brokeyourbike/interswitch-api-client
```## Usage
```php
use BrokeYourBike\Interswitch\Client;
use BrokeYourBike\Interswitch\Interfaces\ConfigInterface;assert($config instanceof ConfigInterface);
assert($httpClient instanceof \GuzzleHttp\ClientInterface);
assert($psrCache instanceof \Psr\SimpleCache\CacheInterface);$apiClient = new Client($config, $httpClient, $psrCache);
$apiClient->getAuthToken();
```## 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
[BSD-3-Clause License](https://github.com/brokeyourbike/interswitch-api-client-php/blob/main/LICENSE)