PHPackages                             gemorroj/ws-client-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. gemorroj/ws-client-server

AbandonedProject

gemorroj/ws-client-server
=========================

Weboscket client-server testing

20PHP

Since Sep 1Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Gemorroj/ws-client-server)[ Packagist](https://packagist.org/packages/gemorroj/ws-client-server)[ RSS](/packages/gemorroj-ws-client-server/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Websocket client-server testing
===============================

[](#websocket-client-server-testing)

see [ratchetphp/Ratchet#626](https://github.com/ratchetphp/Ratchet/issues/626)

import mysql dump `example-db.sql`

### Start Websocket server and start Websocket emitter

[](#start-websocket-server-and-start-websocket-emitter)

```
# ws server
bin/ws-server

# ws emitters
bin/ws-emitter-timer
# or
bin/ws-emitter-simple
```

### Or you can start single Websocket server and Emitter (connect into websocket protocol)

[](#or-you-can-start-single-websocket-server-and-emitter-connect-into-websocket-protocol)

```
bin/ws-single-server-emitter-timer
```

### Or you can start joint Websocket server and Emitter (recommended solution)

[](#or-you-can-start-joint-websocket-server-and-emitter-recommended-solution)

```
bin/ws-joint-server-emitter-timer
```

open `public/index.html` into browser

for auth you can use [https://php.net/hash\_hmac](https://php.net/hash_hmac)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a795fd41706f01fce8e4bd081fa506396eb849bf8ac299420e9be8b48d8d20f?d=identicon)[Gemorroj](/maintainers/Gemorroj)

---

Top Contributors

[![Gemorroj](https://avatars.githubusercontent.com/u/885731?v=4)](https://github.com/Gemorroj "Gemorroj (19 commits)")

### Embed Badge

![Health badge](/badges/gemorroj-ws-client-server/health.svg)

```
[![Health](https://phpackages.com/badges/gemorroj-ws-client-server/health.svg)](https://phpackages.com/packages/gemorroj-ws-client-server)
```

PHPackages © 2026

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