forked from bluerhinos/phpMQTT
-
Notifications
You must be signed in to change notification settings - Fork 3
composer package to publish to emitter
License
bobbymaher/emitter.io-php
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# 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', ), ) );
About
composer package to publish to emitter
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- PHP 100.0%