PHPackages                             happy-monkey/websocket-server - 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. happy-monkey/websocket-server

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

happy-monkey/websocket-server
=============================

1.0.22(4y ago)0671PHP

Since Apr 4Pushed 4y ago1 watchersCompare

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

READMEChangelog (10)Dependencies (2)Versions (24)Used By (0)

websocket-server
================

[](#websocket-server)

Install
-------

[](#install)

```
composer require happy-monkey/websocket-server

```

Messages format
---------------

[](#messages-format)

```
{
    "action": "actionName",
    "data": mixed | null,
    "room": "room_id" | null
}

```

If a message is received, server will look for a method called `onActionName` and execute it. Callback will take 3 arguments :

- Client object of sender
- Data of message
- Room object if a room with `room_id` if exists

Angular WebSocket client service
--------------------------------

[](#angular-websocket-client-service)

See

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

Established project with proven stability

 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

Every ~35 days

Recently: every ~0 days

Total

23

Last Release

1498d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c0525107389fa09c562f0e7a379750c81fd511471a8cafff643eb324c90b711?d=identicon)[happy-monkey](/maintainers/happy-monkey)

---

Top Contributors

[![comic0](https://avatars.githubusercontent.com/u/1249414?v=4)](https://github.com/comic0 "comic0 (13 commits)")

### Embed Badge

![Health badge](/badges/happy-monkey-websocket-server/health.svg)

```
[![Health](https://phpackages.com/badges/happy-monkey-websocket-server/health.svg)](https://phpackages.com/packages/happy-monkey-websocket-server)
```

###  Alternatives

[jdare/clank-bundle

Symfony ClankBundle

129982.4k1](/packages/jdare-clank-bundle)[askedio/laravel-ratchet

A Ratchet Server built for Laravel

18728.2k2](/packages/askedio-laravel-ratchet)[macfja/phar-builder

12311.9k11](/packages/macfja-phar-builder)[paulredmond/html-to-amp

A PHP Library to Convert HTML to AMP HTML

6826.1k](/packages/paulredmond-html-to-amp)[bangnokia/laravel-serve-livereload

Bring livereload to laravel artisan serve command

1008.9k](/packages/bangnokia-laravel-serve-livereload)[xibosignage/xibo-xmr

Xibo Message Relay

1012.8k](/packages/xibosignage-xibo-xmr)

PHPackages © 2026

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