brokeyourbike/yogupay-api-client

YoguPay API Client for PHP

0.2.1 2024-09-10 09:36 UTC

This package is auto-updated.

Last update: 2024-09-10 09:37:13 UTC


README

Latest Stable Version Total Downloads Maintainability Test Coverage

YoguPay API Client for PHP

Installation

composer require brokeyourbike/yogupay-api-client

Usage

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

BSD-3-Clause License