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

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

ortic/phpsocket.io
==================

a socket.io php server side alternative

0201PHP

Since Jun 3Pushed 10y ago1 watchersCompare

[ Source](https://github.com/ortic/phpsocket.io)[ Packagist](https://packagist.org/packages/ortic/phpsocket.io)[ RSS](/packages/ortic-phpsocketio/feed)WikiDiscussions master Synced 1mo 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

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.5% 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/9288570e91c034c82414fc2085a87344711e329feb063d21ab7b18ece811234e?d=identicon)[Remo](/maintainers/Remo)

---

Top Contributors

[![RickySu](https://avatars.githubusercontent.com/u/248728?v=4)](https://github.com/RickySu "RickySu (63 commits)")[![Remo](https://avatars.githubusercontent.com/u/129864?v=4)](https://github.com/Remo "Remo (2 commits)")[![ValeriiTsarov](https://avatars.githubusercontent.com/u/475681?v=4)](https://github.com/ValeriiTsarov "ValeriiTsarov (1 commits)")

### Embed Badge

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

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

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78026.4M414](/packages/react-http)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48347.0M384](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)

PHPackages © 2026

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