simps / mqtt
MQTT Protocol Analysis and Coroutine Client for PHP
Fund package maintenance!
sy-records
Installs: 43 038
Dependents: 13
Suggesters: 1
Security: 0
Stars: 384
Watchers: 9
Forks: 59
Open Issues: 0
pkg:composer/simps/mqtt
Requires
- php: >=7.1
- ext-mbstring: *
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- phpstan/phpstan: ^1.0
- phpunit/phpunit: ^8.5
- simps/mqtt-cli: *
- swoole/ide-helper: >=4.4.20
Suggests
- ext-swoole: The ext-swoole >= v4.4.20 or v4.5.3 needs to be loaded when using the MQTT Client.
README
English | 中文
MQTT Protocol Analysis & Coroutine Client
MQTT Protocol Analysis and Coroutine Client for PHP.
Support for MQTT protocol versions 3.1, 3.1.1 and 5.0.
Support for QoS 0, QoS 1, QoS 2.
Support for MQTT over WebSocket.
Important
The first PHP library to support the MQTT 5.0 protocol.
Install
composer require simps/mqtt
Documentation
mqtt.simps.io | MQTT 3.1.1 | MQTT 5.0
Examples
see examples