brokeyourbike/yogupay-api-client

YoguPay API Client for PHP

0.3.0 2024-11-20 13:02 UTC

This package is auto-updated.

Last update: 2024-11-20 13:02:36 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