What is ReactPHP?
Aa low-level library for event-driven programming in PHP. At its core is an event loop, on top of which it provides low-level utilities
ReactPHP is a tool in the Web Servers category of a tech stack.
Who uses ReactPHP?
Developers
21 developers on StackShare have stated that they use ReactPHP.
ReactPHP Integrations
Decisions about ReactPHP
Here are some stack decisions, common use cases and reviews by companies and developers who chose ReactPHP in their tech stack.
Pablo Largo
Software Developer at AvaiBook · | 4 upvotes · 21.4K views
Hi! Anyone had any experience programming a game-oriented UDP server in PHP using Swoole or ReactPHP? I'm considering trying PHP 8 to really test performance (updating players based on received inputs during a time, simple radius based collision detection).
Also, I would love to know if there is any article/documentation about architecture (code organization, better ways to structure the game logic than a giant switch/elseif, etc.).
ReactPHP's Features
- Production-ready
- Rock-solid with stable long-term support (LTS) releases
- Requires no extensions
- Cross-platform
- Supports legacy PHP 5.3+ and HHVM
ReactPHP Alternatives & Comparisons
What are some alternatives to ReactPHP?
Ratchet
Made by the creators of Twitter Bootstrap, Ratchet is a library that allows you to build mobile apps with simple HTML, CSS, and JS components.
Node.js
Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
Guzzle
Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services.
Swoole
It is an open source high-performance network framework using an event-driven, asynchronous, non-blocking I/O model which makes it scalable and efficient.
Ratchet PHP
It is a loosely coupled PHP library providing developers with tools to create real time, bi-directional applications between clients and servers over WebSockets.