Event-driven, non-blocking I/O with PHP

The event loop is based on the reactor pattern (hence the name) and strongly inspired by libraries such as EventMachine (Ruby), Twisted (Python) and Node.js (V8).

Репозитории

ReactPHP

http://reactphp.org/

ReactPHP is a 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, such as: Streams abstraction, async dns resolver, network client/server, http client/server, interaction with processes. Third-party libraries can use these components to create async network clients/servers and more.

https://github.com/reactphp

Event-driven, non-blocking I/O with PHP, formerly known as "Nuclear Reactor written in PHP"

stream

ReactPHP's core reactor event-loop.

Async, streaming plaintext TCP/IP and secure TLS socket server and client connections for ReactPHP

Promises/A implementation for PHP.

UDP client and server sockets for ReactPHP.

AMPHP

Amp is a non-blocking concurrency framework for PHP applications.

http://amphp.org/

https://github.com/amphp

A non-blocking concurrency framework for PHP applications

An async mysql client built on the amp concurrency framework

A non-blocking HTTP application, WebSocket and file server.

Async Redis client built on the amp concurrency framework

An async HTTP/1.1 client built on the amp concurrency framework

Parallel Processing for Amp

An async filesystem library built on the amp concurrency framework

A promise-aware caching API built on the amp concurrency framework