PHPackages                             ytake/socketio-cli - 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. ytake/socketio-cli

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

ytake/socketio-cli
==================

Send events and receive socket.io PHP client

v2.0.3(12y ago)118192MITPHPPHP &gt;=5.3.0

Since Aug 5Pushed 11y ago1 watchersCompare

[ Source](https://github.com/ytake/socketio-cli)[ Packagist](https://packagist.org/packages/ytake/socketio-cli)[ RSS](/packages/ytake-socketio-cli/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (9)Used By (0)

socketio-cli
============

[](#socketio-cli)

MIT Licenced

install
-------

[](#install)

```
    "require": {
        "ytake/socketio-cli": "dev-master"
    },
```

Send messages and Receive
-------------------------

[](#send-messages-and-receive)

```
// namespace support
$client->client("http://localhost:3000")->query(['query' => 1])
    // namespace
    ->of('/active')->connection(function() use($client){
            // event receive
            $client->on('connection', function($data) use($client){
                    // value from socket.io server
                    var_dump($data);
                });
            // event emit
            $client->emit('sender', ['hello']);
            // event receive
            $client->on('message', function($data) use($client){
                    // value from socket.io server
                    var_dump($data);
                    $client->disconnect();
                });
        })->keepAlive();
```

Licence
-------

[](#licence)

This software is distributed under MIT License. See license.txt file for more info.

Special Thanks
--------------

[](#special-thanks)

Special thanks goes to Wisembly team authors of Elephant.io

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 54.8% 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 ~93 days

Recently: every ~106 days

Total

6

Last Release

4567d ago

Major Versions

v1.0.0-alpha → v2.0.0-alpha2012-09-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/47817f3dd2890864096bd77ee772ec46061432f128988ca23939b0ca486d7bc3?d=identicon)[ytake](/maintainers/ytake)

---

Top Contributors

[![guillaumepotier](https://avatars.githubusercontent.com/u/496234?v=4)](https://github.com/guillaumepotier "guillaumepotier (23 commits)")[![ytake](https://avatars.githubusercontent.com/u/4454078?v=4)](https://github.com/ytake "ytake (10 commits)")[![mieszko4](https://avatars.githubusercontent.com/u/3238370?v=4)](https://github.com/mieszko4 "mieszko4 (2 commits)")[![jbaez](https://avatars.githubusercontent.com/u/1777543?v=4)](https://github.com/jbaez "jbaez (1 commits)")[![jrdiaz](https://avatars.githubusercontent.com/u/1597693?v=4)](https://github.com/jrdiaz "jrdiaz (1 commits)")[![blub0hr](https://avatars.githubusercontent.com/u/4029791?v=4)](https://github.com/blub0hr "blub0hr (1 commits)")[![Ninir](https://avatars.githubusercontent.com/u/855022?v=4)](https://github.com/Ninir "Ninir (1 commits)")[![rosko](https://avatars.githubusercontent.com/u/44275?v=4)](https://github.com/rosko "rosko (1 commits)")[![tpae](https://avatars.githubusercontent.com/u/189663?v=4)](https://github.com/tpae "tpae (1 commits)")[![gmajoulet](https://avatars.githubusercontent.com/u/1492044?v=4)](https://github.com/gmajoulet "gmajoulet (1 commits)")

---

Tags

websocketnodejsSocket.io

### Embed Badge

![Health badge](/badges/ytake-socketio-cli/health.svg)

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

###  Alternatives

[elephantio/elephant.io

Send events to a socket.io server through PHP

135713.8k7](/packages/elephantio-elephantio)[ratchet/rfc6455

RFC6455 WebSocket protocol handler

23433.7M69](/packages/ratchet-rfc6455)[amphp/websocket

Shared code for websocket servers and clients.

463.1M9](/packages/amphp-websocket)

PHPackages © 2026

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