awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
reactphp avatar

reactphp/reactphp

0
View on GitHub↗
9,091 星标·715 分支·PHP·MIT·2 次浏览reactphp.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 历史

reactphp/reactphp 的 Star 历史图表reactphp/reactphp 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Reactphp 的开源替代方案

相似的开源项目,按与 Reactphp 的功能重合度排序。
  • walkor/workermanwalkor 的头像

    walkor/workerman

    11,547在 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
    在 GitHub 上查看↗11,547
  • qihoo360/evppQihoo360 的头像

    Qihoo360/evpp

    3,767在 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++
    在 GitHub 上查看↗3,767
  • ithewei/libhvithewei 的头像

    ithewei/libhv

    7,521在 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
    在 GitHub 上查看↗7,521
  • crazyguitar/pysheeetcrazyguitar 的头像

    crazyguitar/pysheeet

    8,150在 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
    在 GitHub 上查看↗8,150
查看 Reactphp 的所有 30 个替代方案→

常见问题解答

reactphp/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.

reactphp/reactphp 的主要功能有哪些?

reactphp/reactphp 的主要功能包括: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。

reactphp/reactphp 有哪些开源替代品?

reactphp/reactphp 的开源替代品包括: walkor/workerman — Workerman is an event-driven asynchronous socket framework for PHP. It provides the core components necessary to build… qihoo360/evpp — evpp is a C++ network library and framework designed for building high-performance network services using TCP, UDP,… ithewei/libhv — libhv is a high-performance C/C++ network library and event-driven I/O framework used to build TCP, UDP, SSL, HTTP,… 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…