2017 © Pedro Peláez
 

library mqtt

Complete MQTT v3.1.1 implementation for PHP 7.x

image

unreal4u/mqtt

Complete MQTT v3.1.1 implementation for PHP 7.x

  • Tuesday, July 17, 2018
  • by unreal4u
  • Repository
  • 2 Watchers
  • 2 Stars
  • 39 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 8 Versions
  • 15 % Grown

The README.md

unreal4u/MQTT

Complete PHP7.1+ MQTT client with full support for the MQTT version 3.1.1 protocol. This package is an entire rewrite of McFizh/libMQTT., (*1)

This project in badges

Latest Stable Version Total Downloads Scrutinizer Code Quality Code Coverage Build Status License, (*2)

What is MQTT?

Please read the following wiki page for that :) Don't forget to read the other articles which may contain more useful information: What is QoS?
Difference between QoS and Retainability
What is ClientId?, (*3)

Capabilities of this package:

This package is able to: - Connect to the broker. You can connect with virtually all optional parameters the protocol supports, including Will Message. The only exception to the rule is the clean session flag. This is not tested and may or may not work as intended. - Publish QoS level 0, 1 and 2 messages. All protocol supported parameters are also supported, such as retained messages and other options. - Subscribe on QoS level 0, 1 and 2 topics. Connection handling will be done automatically, no need to fiddle with PingRequests and alike. - Filters of topics are those used on the protocol itself, which eliminates the likeliness of bugs that may occur from incorrectly parsing such filters., (*4)

This package uses sockets to communicate (a)synchronously with the broker. If you don't want this, you are free to create your own client, for which you'll just have to implement an interface., (*5)

Examples

This package has many examples detailing the many things you can do with it. Please check the examples directory for more information. In case of questions or doubt, open up an Issue or submit a Pull Request if you feel the need to clarify, correct or add more examples., (*6)

References

[mqtt-v3.1.1-plus-errata01], (*7)

MQTT Version 3.1.1 Plus Errata 01. Edited by Andrew Banks and Rahul Gupta. 10 December 2015. OASIS Standard Incorporating Approved Errata 01. http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/errata01/os/mqtt-v3.1.1-errata01-os-complete.html. Latest version: http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/mqtt-v3.1.1.html., (*8)

Original library that served as inspiration for this one McFizh/libMQTT, (*9)

The Versions

17/07 2018

dev-master

9999999-dev

Complete MQTT v3.1.1 implementation for PHP 7.x

  Sources   Download

MIT

The Requires

 

The Development Requires

api php mqtt

28/05 2018

v1.1.0

1.1.0.0

Complete MQTT v3.1.1 implementation for PHP 7.x

  Sources   Download

MIT

The Requires

 

The Development Requires

api php mqtt

06/04 2018

v1.0.0

1.0.0.0

Complete MQTT v3.1.1 implementation for PHP 7.x

  Sources   Download

MIT

The Requires

 

The Development Requires

api php mqtt

25/03 2018

v1.0.0-alpha

1.0.0.0-alpha

Complete MQTT v3.1.1 implementation for PHP 7.x

  Sources   Download

MIT

The Requires

 

The Development Requires

api php mqtt

22/02 2018

v0.3.0

0.3.0.0

Complete MQTT v3.1.1 implementation for PHP 7.x

  Sources   Download

MIT

The Requires

 

The Development Requires

api php mqtt

18/01 2018

v0.2.0

0.2.0.0

Complete MQTT v3.1.1 implementation for PHP 7.x

  Sources   Download

MIT

The Requires

 

The Development Requires

api php mqtt

08/01 2018
12/12 2017

v0.1.0

0.1.0.0

Complete MQTT v3.1.1 implementation for PHP 7.x

  Sources   Download

MIT

The Requires

 

The Development Requires

api php mqtt