Skip to content

brokeyourbike/wizall-api-client-php

Repository files navigation

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