- 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.
-
Notifications
You must be signed in to change notification settings - Fork 8
Sample app which publish and subscribe to/from a CloudMQTT broker
CloudMQTT/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