PHPackages                             dosgo/sw-socketio - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. dosgo/sw-socketio

ActiveLibrary[HTTP &amp; Networking](/categories/http)

dosgo/sw-socketio
=================

A server side alternative implementation of socket.io in PHP based on Swoole.

v1.1(7y ago)351047[1 issues](https://github.com/dosgo/sw-socketio/issues)MITPHPPHP &gt;=5.4

Since Jul 21Pushed 7y ago5 watchersCompare

[ Source](https://github.com/dosgo/sw-socketio)[ Packagist](https://packagist.org/packages/dosgo/sw-socketio)[ Docs](https://github.com/dosgo/sw-socketio)[ RSS](/packages/dosgo-sw-socketio/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

phpsocketio for swoole
======================

[](#phpsocketio-for-swoole)

A server side alternative implementation of socket.io in PHP based on Swoole.

Notice
======

[](#notice)

Only support socket.io v1.3.0 or greater.
Modification based on

Install
=======

[](#install)

composer require dosgo/sw-socketio

Test
====

[](#test)

php test\\echotest.php socket.io-server
go run test\\main.go socker.io-client

memory\_limit 512M
worker\_num 1 150000 client

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

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

Every ~3 days

Total

2

Last Release

2852d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cca2b268823d0798baf96bc9493bcba3eaa0119e469b2e38a231f9c49b110c93?d=identicon)[dosgo](/maintainers/dosgo)

---

Top Contributors

[![dosgo](https://avatars.githubusercontent.com/u/9545458?v=4)](https://github.com/dosgo "dosgo (20 commits)")

---

Tags

phpsocketiosocket-iosocketioswooleswooleSocket.iophpsocket.iosocket-io

### Embed Badge

![Health badge](/badges/dosgo-sw-socketio/health.svg)

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

###  Alternatives

[hhxsv5/laravel-s

🚀 LaravelS is an out-of-the-box adapter between Laravel/Lumen and Swoole.

3.9k676.0k10](/packages/hhxsv5-laravel-s)[swlib/saber

Swoole coroutine HTTP client

985145.0k27](/packages/swlib-saber)[rase/socket.io-emitter

A PHP implementation of socket.io-emitter

345240.1k2](/packages/rase-socketio-emitter)[elephantio/elephant.io

Send events to a socket.io server through PHP

135713.8k7](/packages/elephantio-elephantio)[simps/mqtt

MQTT Protocol Analysis and Coroutine Client for PHP

39351.6k9](/packages/simps-mqtt)[mezzio/mezzio-swoole

Swoole support for Mezzio

92238.9k3](/packages/mezzio-mezzio-swoole)

PHPackages © 2026

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