Skip to content

brokeyourbike/emq-api-client-php

Repository files navigation

emq-api-client

Latest Stable Version Total Downloads Maintainability Test Coverage

EMQ API Client for PHP

Installation

composer require brokeyourbike/emq-api-client

Usage

use BrokeYourBike\EMQ\Client;
use BrokeYourBike\EMQ\Interfaces\ConfigInterface;

assert($config instanceof ConfigInterface);
assert($httpClient instanceof \GuzzleHttp\ClientInterface);

$apiClient = new Client($config, $httpClient);
$apiClient->transferStatus('reference');

Authors

License

BSD-3-Clause License