frmatias / easy-mqtt
Easy mqtt publish and subscribe
Installs: 105
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 2
pkg:composer/frmatias/easy-mqtt
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