gaborreszler/emitter

There is no license information available for the latest version (0.3.0) of this package.

PHP 8.0 compatible wrapper for emitter.io by bobbymaher/emitter around bluerhinos/phpmqtt

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 460

pkg:composer/gaborreszler/emitter

0.3.0 2025-04-30 10:47 UTC

This package is auto-updated.

Last update: 2025-12-30 12:40:40 UTC


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',

                    ),
                )
            );