awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
reactphp avatar

reactphp/reactphp

0
View on GitHub↗
9,091 stars·715 forks·PHP·MIT·33 viewsreactphp.org↗

Reactphp

ReactPHP is an asynchronous runtime and event-driven I/O framework for PHP. It provides an environment for executing concurrent tasks through a central event loop implementation and reactor pattern, allowing applications to handle multiple operations without pausing the main execution thread.

The project includes a specialized asynchronous socket library for TCP, UDP, and TLS communication, alongside a non-blocking HTTP server and client for streaming web requests and responses.

Its capability surface covers asynchronous control flow via promises and fibers, non-blocking network connectivity including DNS resolution, and system integration for managing child process execution and I/O piping. It also provides event-driven stream interfaces and asynchronous data caching to maintain responsiveness during heavy I/O operations.

Features

  • Event-Driven I/O - Implements a complete event-driven I/O framework using a reactor pattern for high-concurrency PHP applications.
  • Asynchronous Event Loops - Provides a central reactor-based event loop that monitors file descriptors and triggers I/O callbacks.
  • Asynchronous Socket Libraries - Provides a specialized toolset for non-blocking TCP, UDP, and TLS network connections.
  • Connection Managers - Provides utilities to manage multiple concurrent TCP and TLS socket connections asynchronously.
  • Event-Driven Networking - Enables the creation of high-performance TCP, UDP, and TLS servers that manage many simultaneous connections.
  • Non-Blocking Socket I/O - Wraps native network sockets in a non-blocking layer to prevent execution stalls during data transfer.
  • Asynchronous Control Flows - Manages the completion and failure of non-blocking tasks using promises to ensure continuous execution.
  • Asynchronous Flow Coordination - Coordinates concurrent operations using promises and fibers to simplify complex asynchronous control flows.
  • Asynchronous PHP Development - Provides the runtime and primitives necessary for building non-blocking, concurrent applications in PHP.
  • Asynchronous Event Loops - Coordinates the execution of asynchronous tasks and event notifications via a central reactor pattern.
  • Coroutines - Enables writing asynchronous logic that behaves like synchronous code through fiber-based coroutines.
  • Execution Models - Allows writing non-blocking code that looks like synchronous logic using fiber-based execution.
  • Promise-Based Flow Control - Uses promises to represent and manage the eventual results of asynchronous operations.
  • Asynchronous Implementations - Ships an asynchronous HTTP server and client designed for streaming requests and responses without blocking.
  • PHP Coroutine Runtimes - Provides an asynchronous runtime for PHP utilizing an event-driven architecture with promises and fibers.
  • Streaming I/O - Implements incremental data transfer through event-driven streams to avoid thread stalling.
  • Asynchronous Resolvers - Provides a non-blocking DNS resolver to prevent domain lookups from stalling the main event loop.
  • UDP Socket Managers - Implements asynchronous UDP socket managers for fast, connectionless datagram communication.
  • Standard Stream Piping - Executes external system commands by piping standard I/O through non-blocking event streams.
  • Non-Blocking I/O Interfaces - Performs non-blocking I/O operations including DNS lookups and stream reading/writing.
  • External Process Management - Spawns and communicates with system subprocesses using non-blocking standard input and output streams.
  • Child Process Execution - Enables spawning and managing external system processes with asynchronous input and output piping.
  • Asynchronous Resolvers - Provides a non-blocking DNS resolver to perform domain lookups without stalling the main application thread.
  • HTTP Servers - Ships an asynchronous HTTP server and client for handling streaming web requests and responses.
  • Event and Async Programming - Provides a core event-driven I/O library.

Star history

Star history chart for reactphp/reactphpStar history chart for reactphp/reactphp

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does reactphp/reactphp do?

ReactPHP is an asynchronous runtime and event-driven I/O framework for PHP. It provides an environment for executing concurrent tasks through a central event loop implementation and reactor pattern, allowing applications to handle multiple operations without pausing the main execution thread.

What are the main features of reactphp/reactphp?

The main features of reactphp/reactphp are: Event-Driven I/O, Asynchronous Event Loops, Asynchronous Socket Libraries, Connection Managers, Event-Driven Networking, Non-Blocking Socket I/O, Asynchronous Control Flows, Asynchronous Flow Coordination.

Which projects share features with reactphp/reactphp?

Projects with overlapping indexed features include: walkor/workerman — Workerman is an event-driven asynchronous socket framework for PHP. It provides the core components necessary to build… ithewei/libhv — libhv is a high-performance C/C++ network library and event-driven I/O framework used to build TCP, UDP, SSL, HTTP,… qihoo360/evpp — evpp is a C++ network library and framework designed for building high-performance network services using TCP, UDP,… crazyguitar/pysheeet — pysheeet is a technical reference library providing a curated collection of code snippets and implementation patterns… smol-rs/smol — Smol is a lightweight Rust asynchronous runtime and task executor. It provides a suite of foundational tools for… tokio-rs/mio — Mio is a low-level I/O library for Rust that provides an event-driven framework for monitoring multiple network…

Projects sharing features with Reactphp

These projects share indexed features with Reactphp. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • walkor/workermanwalkor avatar

    walkor/workerman

    11,547View on GitHub↗

    Workerman is an event-driven asynchronous socket framework for PHP. It provides the core components necessary to build high-concurrency network servers, including an asynchronous TCP framework, a coroutine library for task management, and dedicated implementations for HTTP and WebSocket servers. The project enables the development of specialized network services using custom frame-based communication protocols. It supports both inbound concurrent server implementation and asynchronous outbound connectivity to remote services. The framework covers a broad range of network programming capabili

    PHPasynchronousevent-drivenhigh-performance
    View on GitHub↗11,547
  • qihoo360/evppQihoo360 avatar

    Qihoo360/evpp

    3,767View on GitHub↗

    evpp is a C++ network library and framework designed for building high-performance network services using TCP, UDP, and HTTP protocols. It provides an asynchronous event loop to manage nonblocking I/O operations and concurrent network connections across multiple threads. The framework includes specialized tools for asynchronous DNS resolution and a system for asynchronous task scheduling using a managed thread pool. It also features a nonblocking HTTP server and client with integrated connection pooling. The project covers low-level transport layer connectivity for TCP and UDP, as well as hi

    C++
    View on GitHub↗3,767
  • ithewei/libhvithewei avatar

    ithewei/libhv

    7,521View on GitHub↗

    libhv is a high-performance C/C++ network library and event-driven I/O framework used to build TCP, UDP, SSL, HTTP, WebSocket, and MQTT clients and servers. It provides a non-blocking event loop for managing network sockets, timers, and system signals across multiple threads. The project is distinguished by its integrated support for specialized network roles, including a full HTTP web server with RESTful routing and middleware, an MQTT messaging client for IoT communication, and the ability to implement SOCKS5 and HTTP proxies. It also features a reliable UDP implementation to ensure ordered

    Ccurlepollhttp-client
    View on GitHub↗7,521
  • crazyguitar/pysheeetcrazyguitar avatar

    crazyguitar/pysheeet

    8,150View on GitHub↗

    pysheeet is a technical reference library providing a curated collection of code snippets and implementation patterns for advanced Python development, system integration, and high-performance computing. It serves as a comprehensive guide for implementing low-level network programming, native C extensions, and asynchronous and concurrent programming. The project provides specialized frameworks for the development and deployment of large language models, including tools for distributed GPU inference and high-performance serving. It also includes detailed patterns for high-performance computing

    Python
    View on GitHub↗8,150
Compare all 30 related projects→