/wizall-api-client-php

Wizall API client for PHP

Primary LanguagePHPBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

wizall-api-client

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