gaborreszler/emitter
最新稳定版本:0.3.0
Composer 安装命令:
composer require gaborreszler/emitter
包简介
PHP 8.0 compatible wrapper for emitter.io by bobbymaher/emitter around bluerhinos/phpmqtt
README 文档
README
# A php SDK for publishing to emitter https://emitter.io/ To install via Composer ----------------------- - `composer require bobbymaher/emitter` or add to composer: - "bobbymaher/emitter": "0.2.*" a wrapper around bluerhinos/phpmqtt it currently only publishes, if you want to add features open a PR $emitter = new \emitter\emitter(array( 'server' => 'emitter.tld', 'port' => '8080', )); $emitterChannel = 'test'; $emitterKey = 'keykekyguihetgiuhui'; $emitter->publish( array( 'key' => $emitterKey, 'channel' => $emitterChannel, 'ttl' => 5, 'message' => array( 'blah' => 'gggg', 'name' => 'jimbob', ), ) );
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2025-04-30