brokeyourbike/emq-api-client

EMQ API Client for PHP

0.2.0 2024-09-09 14:53 UTC

This package is auto-updated.

Last update: 2024-12-09 15:21:56 UTC


README

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