Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.34 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.34 KB

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