- Clone the repo
- Install Composer if you don't already have it installed
- run
php composer.phar install
- set url to CloudMQTT
export CLOUDMQTT_URL=mqtt://....
- run
php subscribe.php
- Open another terminal window
- set url to CloudMQTT
export CLOUDMQTT_URL=mqtt://....
- run
php publish.php
forked from CloudMQTT/php-mqtt-example
-
Notifications
You must be signed in to change notification settings - Fork 0
Sample app which publish and subscribe to/from a CloudMQTT broker
rhallado/php-mqtt-example
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Sample app which publish and subscribe to/from a CloudMQTT broker
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- PHP 100.0%