brokeyourbike/wizall-api-client

PHP 的 Wizall API 客户端

0.2.4 2024-02-08 22:30 UTC

This package is auto-updated.

Last update: 2024-09-08 23:54:12 UTC


README

Latest Stable Version Total Downloads Maintainability Test Coverage

PHP 的 Wizall API 客户端

安装

composer require brokeyourbike/wizall-api-client

使用方法

use BrokeYourBike\Wizall\Client;
use BrokeYourBike\Wizall\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();

作者

许可证

BSD-3-Clause License