PHPackages                             exls/socket.io-emitter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. exls/socket.io-emitter

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

exls/socket.io-emitter
======================

PHP socket.io emitter

v0.1.0(10y ago)341.2k↓26.7%91MITPHPPHP &gt;=5.6.4

Since May 1Pushed 10y ago1 watchersCompare

[ Source](https://github.com/exls/socket.io-emitter)[ Packagist](https://packagist.org/packages/exls/socket.io-emitter)[ RSS](/packages/exls-socketio-emitter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (1)

exls/socket.io-emitter
======================

[](#exlssocketio-emitter)

A PHP implementation of socket.io-emitter (0.1.0).

Installation
------------

[](#installation)

composer require exls/socket.io-emitter

Usage
-----

[](#usage)

### Emit payload message

[](#emit-payload-message)

```
use Predis;
use Exls\SocketIO;
...

$client = new Predis\Client();

(new Emitter($client))
    ->of('namespace')->emit('event', 'payload message');
```

### Flags

[](#flags)

Possible flags

- json
- volatile
- broadcast

#### To use flags, just call it like in example bellow

[](#to-use-flags-just-call-it-like-in-example-bellow)

```
use Predis;
use Exls\SocketIO;
...

$client = new Predis\Client();

(new Emitter($client))
    ->broadcast->emit('broadcast-event', 'payload message');
```

### Emit an object

[](#emit-an-object)

```
use Predis;
use Exls\SocketIO;
...

$client = new Predis\Client();

(new Emitter($client))
    ->emit('broadcast-event', ['param1' => 'value1', 'param2' => 'value2', ]);
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3669d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/12e34dfb3ecc1b102a270cf494d23835d1880f59100f94e8a4b8e26fe60a2a39?d=identicon)[exls](/maintainers/exls)

---

Top Contributors

[![exls](https://avatars.githubusercontent.com/u/6387671?v=4)](https://github.com/exls "exls (1 commits)")

### Embed Badge

![Health badge](/badges/exls-socketio-emitter/health.svg)

```
[![Health](https://phpackages.com/badges/exls-socketio-emitter/health.svg)](https://phpackages.com/packages/exls-socketio-emitter)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[vcian/pulse-active-sessions

A Laravel Pulse card to show active user session.

11469.2k](/packages/vcian-pulse-active-sessions)[splitsoftware/split-sdk-php

Split SDK for PHP

161.3M2](/packages/splitsoftware-split-sdk-php)[vwo/vwo-php-sdk

VWO server side sdk

12166.4k](/packages/vwo-vwo-php-sdk)[ada-u/chocoflake

64bit time based id generator

14117.3k](/packages/ada-u-chocoflake)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
