mcfish/libmqtt

MQTT 3.1.1 library for PHP with TLS support

Installs: 30 573

Dependents: 0

Suggesters: 0

Security: 0

Stars: 18

Watchers: 2

Forks: 8

Open Issues: 1

pkg:composer/mcfish/libmqtt

1.0.3 2018-12-06 12:53 UTC

This package is not auto-updated.

Last update: 2025-12-27 21:27:21 UTC


README

Build Status

Simple MQTT library for PHP, with support for MQTT version 3.1.1, TLS. Library also partially implements QoS 1 messaging.

Library is a rewrite of phpMQTT library, original can be found here: https://github.com/bluerhinos/phpMQTT

Vagrant

Repo includes vagrant configuration, which creates minimal testing/development environment for the library.

Environment is based on Centos 7, and contains PHP 5.6 + RabbitMQ + composer. To try it out, type:

  • vagrant up
  • vagrant ssh
  • cd libMQTT

Now to run the actual PHP unit tests:

  • ./tests/travis.sh

PHP requirements

Library works with:

  • PHP >= 5.4
  • HHVM >= 3.9

Pekka Harjamäki < mcfizh@gmailcom >