brokeyourbike/access-bank-api-client

PHP版本的Access Bank API客户端

0.5.1 2024-03-31 12:07 UTC

This package is auto-updated.

Last update: 2024-10-01 00:14:45 UTC


README

Latest Stable Version Total Downloads Maintainability Test Coverage

PHP版本的Access Bank API客户端

安装

composer require brokeyourbike/access-bank-api-client

用法

use BrokeYourBike\AccessBank\Client;
use BrokeYourBike\AccessBank\Interfaces\ConfigInterface;

assert($config instanceof ConfigInterface);
assert($httpClient instanceof \GuzzleHttp\ClientInterface);
assert($psrCache instanceof \Psr\SimpleCache\CacheInterface);

$apiClient = new Client($config, $httpClient, $psrCache);
$apiClient->fetchAuthTokenRaw();

作者

许可证

Mozilla Public License v2.0