brokeyourbike / interswitch-api-client
Interswitch API Client for PHP
Package info
github.com/brokeyourbike/interswitch-api-client-php
pkg:composer/brokeyourbike/interswitch-api-client
0.1.5
2026-03-10 18:41 UTC
Requires
- php: ^8.1
- brokeyourbike/data-transfer-object: ^0.2.0
- brokeyourbike/has-source-model: ^2.0
- brokeyourbike/http-client: ^1.0
- brokeyourbike/http-enums: ^2.0
- brokeyourbike/resolve-uri: ^1.0
- psr/simple-cache: ^1.0
Requires (Dev)
- bamarni/composer-bin-plugin: ^1.4
- mockery/mockery: ^1.4
- nesbot/carbon: ^2.53
- phpunit/phpunit: ^9
This package is auto-updated.
Last update: 2026-03-10 18:41:15 UTC
README
Interswitch API Client for PHP
Installation
composer require brokeyourbike/interswitch-api-client
Usage
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 | Twitter | LinkedIn | stasi.uk