Swoole
🚀 Coroutine-based concurrency library for PHP observed · 2026-10-13
Health v2 · maintenance only
98/100
- Activity 99
- Release rhythm 96
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 18
- age_days: 5204
- days_rel: 28
- days_push: 8
- n_releases_24m: 22
Adoption not part of the score
18917 stars · 3149 forks observed · 2026-10-13
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-19, confidence 0.98
Swoole is a PHP extension that provides an event‑driven networking engine and coroutine runtime. It enables building high‑performance, concurrent network services such as HTTP APIs, WebSocket servers, and TCP/UDP gateways without spawning a PHP process per request.
Use cases
- build a high‑throughput HTTP API server in PHP
- create a real‑time WebSocket chat service
- implement a TCP or UDP gateway for IoT devices
- run concurrent background jobs with coroutine workers
- serve millions of simultaneous connections with low memory overhead
When to choose
- You need ultra‑low latency and high concurrency for PHP services.
- Your application must handle many persistent connections (WebSocket, TCP, UDP).
- You want to write asynchronous I/O code using coroutines instead of callbacks.
When to avoid
- You are limited to environments where installing PHP extensions is not possible.
- Your project requires pure PHP code without native extensions for portability.
- You need a full‑stack framework with built‑in ORM, templating, and routing beyond low‑level networking.
Facets
library · maturity active
http-server websocket http-client web-development backend networking windows cli php-extension coroutine event-driven high-concurrency async-io tcp-server udp-server event-loop linux macos docker
2 sources
- readme: https://github.com/swoole/swoole-src · fetched 2026-10-13 · fc9322c51262
- homepage: https://www.swoole.com · fetched 2026-10-05 · 010aff7f7753
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| swoole/swoole-src | main | 98 |
| swoole/docker-swoole | infra | 75 |
| swoole/swoole-cli | backend | 95 |
For agents
markdown · JSON · MCP: product_card(name="swoole/swoole-src")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem