Skip to content

brokeyourbike/parallex-bank-api-client-php

Repository files navigation

parallex-bank-api-client

Latest Stable Version Total Downloads Maintainability Test Coverage

Parallex Bank API Client for PHP

Installation

composer require brokeyourbike/parallex-bank-api-client

Usage

use BrokeYourBike\ParallexBank\Client;
use BrokeYourBike\ParallexBank\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

License

Mozilla Public License v2.0