| What it is | Event-driven, non-blocking I/O for PHP: an event loop with async streams, DNS, sockets, HTTP and processes | Coroutine-based concurrency library for PHP |
| Kind | Open source | Open source |
| Trust | 0.55 | 0.72 |
| Stars | 9085 | 18940 |
| Last commit | 2026-11-23 | 2026-11-24 |
| Licence | MIT | Apache-2.0 |
| Pricing | Free and open source | Free and open source |
| Free tier | Yes | Yes |
| Self-hostable | — | Yes |
| Ways to run it | — | — |
| SOC 2 | — | — |
| HIPAA | — | — |
| SSO | — | — |
| API | — | — |
| Plugins | — | — |
| MCP server | — | — |
| Company | ReactPHP | Swoole Project |
| Features | - Event loop (reactor pattern)
- Promises and async/await-style coroutines
- Async streams, DNS resolver and TCP/UDP sockets
- HTTP client and server
- Child processes, caching and promise timers
- No PHP extensions required
| - event loop and coroutine scheduler
- TCP, UDP and Unix socket servers
- HTTP and WebSocket servers
- coroutine clients
- runtime hooks for PHP functions
- processes, shared tables and atomics
- timers
|
| Limitations | - Non-blocking by default: blocking I/O needs workers
| - Workers are long-lived: global and static state and open resources survive between requests, so per-request data must stay out of process state
|