/emq-api-client-php

EMQ API Client for PHP

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

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