brokeyourbike/wizall-api-client

Wizall API Client for PHP

0.2.4 2024-02-08 22:30 UTC

This package is auto-updated.

Last update: 2024-12-09 00:18:07 UTC


README

Latest Stable Version Total Downloads Maintainability Test Coverage

Wizall API client for PHP

Installation

composer require brokeyourbike/wizall-api-client

Usage

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();

Authors

License

BSD-3-Clause License