brokeyourbike / emq-api-client-php

EMQ API Client for PHP

Home Page:https://docs.emq.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

EMQ API Client for PHP

https://docs.emq.com

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:PHP 97.6%Language:Dockerfile 2.4%