# walkor/phpsocket.io

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

Repository: https://github.com/walkor/phpsocket.io
Canonical: https://ross.abutalabs.com/products/phpsocketio
Language: PHP
License: MIT
License Family: permissive
Topics: workerman, phpsocket, chat-demo, socket-io, php, realtime, socketio
Last push: 2026-08-26T12:46:22+00:00

## Health v2 (maintenance only)
Score: 85/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 59, longevity 100
- inputs: {"age_days": 4045, "days_push": 7, "days_rel": 119, "gap_med": 136, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2341, forks 505 (observed 2026-08-28T04:06:38.609410+00:00)

## What it is
A server-side PHP implementation of the socket.io protocol built on the Workerman event-driven networking framework. It lets PHP applications serve socket.io clients with realtime event-based communication over websocket and polling transports.

## Use cases
- build a realtime chat server in PHP
- serve socket.io clients from a PHP backend
- push realtime events to browsers from PHP
- implement websocket event handling in PHP
- broadcast messages to connected clients
- replace a node.js socket.io server with PHP

## When to choose
- your stack is PHP and you need socket.io-compatible realtime messaging
- you want an event-driven PHP server without node.js
- your clients use socket.io v1.3–v2.x

## When to avoid
- you need socket.io v3 or v4 client compatibility
- you want Workerman 5.x support
- you need a client-side socket.io implementation

## Facets
- artifact type: library
- maturity: active
- function: websocket, http-server, rpc, middleware
- domain: web-development, backend
- platform: php, cli
- tags: socket-io, workerman, realtime, event-driven, server-side, real-time, messaging, linux, web-server

## Member repositories
- walkor/phpsocket.io (main) score 85

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:38.609410+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:37:23.941229+00:00, confidence not recorded.
  - readme: https://github.com/walkor/phpsocket.io (fetched 2026-08-28T04:06:38.609410+00:00, sha dd6f55af13ce)
- Data as of 2026-08-30T08:39:29.467469+00:00.
