stewart-php / mqtt
MQTT 3.1.1 client that connects Stewart apps to an MQTT server. Non-blocking, over amphp
v0.10.0
2026-10-04 12:16 UTC
Requires
- php: >=8.5
- amphp/amp: ^3.1.1
- amphp/byte-stream: ^2.1
- amphp/socket: ^2.4
- psr/log: ^3.0
- stewart-php/contracts: v0.10.0
- stewart-php/runtime: v0.10.0
- stewart-php/support: v0.10.0
- symfony/dependency-injection: ^7.4 || ^8.0
Requires (Dev)
- phpunit/phpunit: ^13.3
- stewart-php/testing: v0.10.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
MQTT 3.1.1 client that connects Stewart apps to an MQTT server. Non-blocking, over amphp.
composer require stewart-php/mqtt
Set mqtt.url in stewart.yaml, then take Stewart\Contracts\Mqtt\Mqtt in an app's constructor to publish and to
watch topic filters (+ and #).
Part of Stewart: Home Assistant automations in PHP. Start a project from stewart-php/skeleton rather than requiring packages one by one.
This repository is a read-only split of the monorepo. Open issues and pull requests at stewart-php/stewart.
License
MIT; see LICENSE.