frmatias / easy-mqtt
This package is abandoned and no longer maintained.
No replacement package was suggested.
Easy mqtt publish and subscribe
dev-master
2021-11-08 13:11 UTC
Requires (Dev)
- php: >= 5.4
This package is auto-updated.
Last update: 2023-04-08 16:14:16 UTC
README
composer require frmatias/easy-mqtt
- With this package you can connect your server to a mqtt cloud server, subscribe a topic and also publish a topic.
Check the examples files
Library based on phpMQTT
Check the original work, i make the subscribe method more friendly and also removed some useless function, now you don't need call a callback funtion to receve the messenger returned from you server, that's work better for you when you are using a framework.
The returned messenger from server is unprocessed so you need process
franciscomatias@alu.ufc.br @frmatias