# ReactPHP

> Event-driven, non-blocking I/O for PHP: an event loop with async streams, DNS, sockets, HTTP and processes

Source: https://talira.ai/catalog/reactphp-hc0632nc
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / async runtimes](https://talira.ai/categories/libraries/async-runtimes), [languages / php](https://talira.ai/categories/languages/php)
- Licence: MIT[^1][^3]
- Pricing: Free and open source[^2]
- Pricing notes: Free and open source.
- Free tier: yes[^2]
- Backed by: [ReactPHP](https://talira.ai/orgs/reactphp.md)

ReactPHP is a low-level library for event-driven programming in PHP. Its core is an event loop based on the reactor pattern, with promises and async/await-style coroutines on top, and components for streams, an async DNS resolver, TCP and UDP clients and servers, an HTTP client and server, child processes and caching. It suits network servers and clients with thousands of concurrent connections and other long-running PHP programs, needs no PHP extensions, and has a large ecosystem of third-party libraries built on it.

## Links

- Website: https://reactphp.org/
- GitHub: https://github.com/reactphp/reactphp
- Docs: https://reactphp.org/

## Problems it solves

- write a PHP server that handles thousands of concurrent connections
- run async HTTP requests in parallel from PHP
- build a long-running PHP daemon or websocket server without a separate web server

## 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

## Limitations

- Non-blocking by default: blocking I/O needs workers[^1]

## Trust

Overall: 0.55 out of 1.
Signals: maintenance 0.67, adoption 0.79, momentum 0.52, community 0.65, backing 0.30, extensibility 0.00.

- last commit yesterday
- 10 commits in the last 90 days
- latest release v1.4.0 3.4 years ago
- 9.1k GitHub stars
- 40 contributors
- accepts sponsorship (Github, Github, Github)
- has a company behind it

## Alternatives

- [Swoole](https://talira.ai/catalog/swoole-mk0831bk.md): Coroutine-based concurrency library for PHP

## Sources

[^1]: https://reactphp.org/ (checked 24 Nov 2026)
[^2]: https://github.com/reactphp/reactphp (checked 24 Nov 2026)
[^3]: https://github.com/reactphp/reactphp/blob/1.x/LICENSE (checked 24 Nov 2026)
