PHPackages                             ipedis/websocket-bundle - 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. ipedis/websocket-bundle

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

ipedis/websocket-bundle
=======================

Symfony bundle for websocket usage on publispeak

2.0.0(4mo ago)01↓90%PHPPHP &gt;= 8.2CI passing

Since Feb 25Pushed 3mo agoCompare

[ Source](https://github.com/ipedis/websocket-bundle)[ Packagist](https://packagist.org/packages/ipedis/websocket-bundle)[ RSS](/packages/ipedis-websocket-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (9)Versions (13)Used By (0)

README
======

[](#readme)

***Global goal***

The websocket will handle various behavior which can be classified on 3 distinct category :

- *tracking* ability to track and count activity on the wysiwyg. Goal is to determine what our performance per publication, pages…
- *vocalization* as admin generation tracking, we would like to be able to require mp3 generation and see, in live, the progression
- *Syncronization* if more than one operator are working on the same publication article view, we would like to synchronize there work without having to refresh or making ajax call.

### Who do I talk to?

[](#who-do-i-talk-to)

- Ipedis Mauritius

Installation
============

[](#installation)

Update `composer.json` and add a repository:

```
"repositories": [
    {
        "type": "vcs",
        "url": "bitbucket:ipedis/websocket-bundle.git"
    }
]

```

Require the library:

```
"require": {
    "ipedis/websocket-bundle": "^1.0.0"
}

```

---

For Php &gt;=8.2 and Symfony &gt;= 6.4

```
"require": {
    "ipedis/websocket-bundle": "^2.0.0"
}

```

---

Configuration
=============

[](#configuration)

on `config/packages` folder, create yaml configuration like following:

```
ipedis_websocket:
  connection:
    websocket_host: 127.0.0.1
    websocket_port: 8081

```

*all configurations have default value so there are all optional*

create channel and handler `websocket` for monolog:

```
monolog:
  channels: [YOUR_EXISTINGS_CHANNELS..., "websocket"]

  handlers:
    .... // Existing handlers goes here
    websocket:
      level: debug
      type:  stream
      path:  "%kernel.logs_dir%/websocket.log"
      channels: ["websocket"]

```

---

on `config/bundles.php` add `WebsocketBundle` as bellow:

```
Ipedis\Bundle\Websocket\WebsocketBundle::class => ['all' => true]

```

---

Get Started: Publish and Subscribe.
===================================

[](#get-started-publish-and-subscribe)

**Create event new websocket channel**

Create service like following:

```
use Ipedis\Bundle\Websocket\Channel\Contract\ChannelInterface;
use Ipedis\Bundle\Websocket\Channel\ChannelAbstract;

class YouChannel extends ChannelAbstract implements ChannelInterface
{
   ...
}

```

This will automatically tag the service as `ps.websocket_channel`

---

Start websocket server
======================

[](#start-websocket-server)

To start the server, run this command `php bin/console ip:ws:spawn`

###  Health Score

44

—

FairBetter than 91% of packages

Maintenance79

Regular maintenance activity

Popularity1

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~217 days

Recently: every ~367 days

Total

11

Last Release

141d ago

Major Versions

1.0.9 → 2.0.02026-02-03

PHP version history (2 changes)1.0.0PHP &gt;7.2.0

2.0.0PHP &gt;= 8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/97cc863f90ac18a7a620893a0a9cbf099dab4f8e5f853e1fe5a28c64b6dec9cc?d=identicon)[yanis-git](/maintainers/yanis-git)

---

Top Contributors

[![MelchiorIpedis](https://avatars.githubusercontent.com/u/126576609?v=4)](https://github.com/MelchiorIpedis "MelchiorIpedis (6 commits)")[![tejaskgosai](https://avatars.githubusercontent.com/u/126658306?v=4)](https://github.com/tejaskgosai "tejaskgosai (6 commits)")[![luqayyahj](https://avatars.githubusercontent.com/u/98180558?v=4)](https://github.com/luqayyahj "luqayyahj (4 commits)")[![yanis-git](https://avatars.githubusercontent.com/u/4113879?v=4)](https://github.com/yanis-git "yanis-git (1 commits)")

###  Code Quality

Static AnalysisRector

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/ipedis-websocket-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/ipedis-websocket-bundle/health.svg)](https://phpackages.com/packages/ipedis-websocket-bundle)
```

PHPackages © 2026

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