# walkor/workerman

An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols.

Repository: https://github.com/walkor/workerman
Canonical: https://ross.abutalabs.com/products/workerman
Homepage: http://www.workerman.net
Language: PHP
License: MIT
License Family: permissive
Topics: websocket, timer, socket, event-driven, asynchronous, ws, wss, high-performance, socket-server, tcp, php
Last push: 2026-08-24T13:42:06+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 4651, "days_push": 9, "days_rel": 90, "gap_med": 27.5, "n_releases_24m": 23}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 11547, forks 2249 (observed 2026-08-28T04:10:48.611140+00:00)

## What it is
Workerman is an asynchronous, event-driven PHP framework for building high-performance socket servers supporting HTTP, WebSocket, SSL, and custom protocols. It includes timers, coroutines, connection pools, and process management, and runs as a long-lived multi-process application on POSIX systems.

## Use cases
- build a websocket server in php
- real-time chat and instant messaging backend
- push notifications to clients from another web project
- high-concurrency tcp/udp socket server
- iot device communication and mqtt gateway
- replace php-fpm with a persistent php http server
- scheduled background tasks and async workers in php

## When to choose
- you need persistent PHP processes handling thousands of concurrent connections
- you're building realtime features like chat, push, or live dashboards in PHP
- you want a fast PHP alternative to nginx+php-fpm for APIs
- you need custom TCP protocols or IoT device servers

## When to avoid
- you need Windows production deployment (POSIX-only; Windows is dev-only)
- your team prefers traditional request-lifecycle PHP frameworks like Laravel/Symfony
- you need a fully managed serverless environment
- you're unwilling to manage long-running daemon processes

## Facets
- artifact type: framework
- maturity: stable
- function: websocket, http-server, web-framework, concurrency, scheduling, message-queue, rpc
- domain: web-development, backend, iot, networking, apis
- platform: bsd, php, cli, self-hosted
- tags: event-driven, socket-server, high-performance, coroutines, connection-pool, tcp-server, realtime-push, php-daemon, real-time, messaging, linux, macos

## Member repositories
- walkor/workerman (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:48.611140+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-29T17:15:31.354934+00:00, confidence not recorded.
  - readme: https://github.com/walkor/workerman (fetched 2026-08-28T04:10:48.611140+00:00, sha 2a5a01dc5188)
  - homepage: http://www.workerman.net (fetched 2026-08-29T08:14:12.594310+00:00, sha e36803b08894)
  - site_page: https://www.workerman.net/doc/workerman/faq/push-in-other-project.html (fetched 2026-08-29T08:14:12.597187+00:00, sha c7463da6ea54)
- Data as of 2026-08-30T08:39:29.467469+00:00.
