PHPackages                             albert-shtein/socket.io-amqp-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. albert-shtein/socket.io-amqp-emitter

ActiveLibrary

albert-shtein/socket.io-amqp-emitter
====================================

A PHP amqp implementation of socket.io-emitter

04PHP

Since Feb 1Pushed 7y ago1 watchersCompare

[ Source](https://github.com/AlbertShtein/socket.io-amqp-emitter)[ Packagist](https://packagist.org/packages/albert-shtein/socket.io-amqp-emitter)[ RSS](/packages/albert-shtein-socketio-amqp-emitter/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (1)Used By (0)

socket.io-amqp-emitter
======================

[](#socketio-amqp-emitter)

A PHP amqp implementation of socket.io-emitter.

PHP Library is designed for using in pair with [socket.io-amqp](https://www.npmjs.com/package/socket.io-amqp)

Usage
-----

[](#usage)

### Initialization

[](#initialization)

```
$connection = new AMQPStreamConnection('192.168.1.211', 5672, 'guest', 'guest');
$emitter = new Emitter($connection);
$emitter
    ->of('/v1')
    ->to('best')
    ->to('room')
    ->to('ever')
    ->emit('chat', ['everything' => 'is ok?']);
```

### Broadcasting and other flags

[](#broadcasting-and-other-flags)

Possible flags

- broadcast

```
$emitter = new Emitter($connection);
$emitter->broadcast->emit('event', 'something else');
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/50807004?v=4)[Albert](/maintainers/albertmd)[@AlbertMD](https://github.com/AlbertMD)

### Embed Badge

![Health badge](/badges/albert-shtein-socketio-amqp-emitter/health.svg)

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

PHPackages © 2026

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