- 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
This repository was archived by the owner on Mar 12, 2025. It is now read-only.
CloudMQTT/php-mqtt-example
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|