Skip to content

brokeyourbike/9psb-api-client-php

Repository files navigation

9psb-api-client-php

Latest Stable Version Total Downloads Maintainability Test Coverage

9PSB API Client for PHP

Installation

composer require brokeyourbike/9psb-api-client

Usage

use BrokeYourBike\NinePSB\Interfaces\ConfigInterface;
use BrokeYourBike\NinePSB\Client;

assert($config instanceof ConfigInterface);
assert($httpClient instanceof \GuzzleHttp\ClientInterface);

$apiClient = new Client($config, $httpClient);
$apiClient->transfer($transaction);

Authors

License

Mozilla Public License v2.0