EMQ API Client for PHP
composer require brokeyourbike/emq-api-client
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');
- Ivan Stasiuk | Twitter | LinkedIn | stasi.uk