PHPackages                             rickysu/phpsocket.io - 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. rickysu/phpsocket.io

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

rickysu/phpsocket.io
====================

a socket.io php server side alternative

1722.5k34[6 issues](https://github.com/RickySu/phpsocket.io/issues)PHP

Since Nov 9Pushed 10y ago14 watchersCompare

[ Source](https://github.com/RickySu/phpsocket.io)[ Packagist](https://packagist.org/packages/rickysu/phpsocket.io)[ RSS](/packages/rickysu-phpsocketio/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHPSocket.io
============

[](#phpsocketio)

[![Build Status](https://camo.githubusercontent.com/9942c000a8f3a13577f5825c7987905e0b352a5e3e6495adf55ea311df0c2582/68747470733a2f2f7472617669732d63692e6f72672f5269636b7953752f706870736f636b65742e696f2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/RickySu/phpsocket.io)

socket.io php server side alternative.

Install
-------

[](#install)

The recommended way to install phpsocket.io is [through composer](http://getcomposer.org).

```
{
    "require": {
        "rickysu/phpsocket.io": "dev-master"
    }
}
```

What is it?
-----------

[](#what-is-it)

PHPSocket.io is a socket.io php server side alternative. The event loop is based on pecl event extension.

Requirement
-----------

[](#requirement)

pecl/event

Usage
-----

[](#usage)

see example/\*

Tests
-----

[](#tests)

To run the test suite, you need install the dependencies via composer, then run PHPUnit.

```
$ composer install
$ phpunit

```

License
-------

[](#license)

MIT, see LICENSE.

TODO
----

[](#todo)

- add more session handler support.
- event queue.
- more tests.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97% 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/8440573e58d15491de4e757877d06ef061da110763cd2f035ba8344b8314b10d?d=identicon)[rickysu](/maintainers/rickysu)

---

Top Contributors

[![RickySu](https://avatars.githubusercontent.com/u/248728?v=4)](https://github.com/RickySu "RickySu (65 commits)")[![dharmphp](https://avatars.githubusercontent.com/u/2362864?v=4)](https://github.com/dharmphp "dharmphp (1 commits)")[![ValeriiTsarov](https://avatars.githubusercontent.com/u/475681?v=4)](https://github.com/ValeriiTsarov "ValeriiTsarov (1 commits)")

### Embed Badge

![Health badge](/badges/rickysu-phpsocketio/health.svg)

```
[![Health](https://phpackages.com/badges/rickysu-phpsocketio/health.svg)](https://phpackages.com/packages/rickysu-phpsocketio)
```

###  Alternatives

[snowdog/module-alpaca-components

Components of the Alpaca theme for Magento 2

4583.0k2](/packages/snowdog-module-alpaca-components)

PHPackages © 2026

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