5 个仓库
Programming paradigms and toolsets for creating non-blocking applications using the PHP language.
Distinct from PHP Application Frameworks: The candidates focus on general toolkits or frameworks; this is specifically about the async paradigm in PHP.
Explore 5 awesome GitHub repositories matching programming languages & runtimes · Asynchronous PHP Development. Refine with filters or upvote what's useful.
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
Provides the runtime and primitives necessary for building non-blocking, concurrent applications in PHP.
This project is a PHP implementation of the Promises/A+ specification, providing a library for managing asynchronous operations and deferred values. It serves as an asynchronous task coordinator that allows for the creation of non-blocking code through a promise-based pattern. The library enables the simulation of asynchronous coroutines, allowing non-blocking code to be written in a linear style. It features duck-typed interoperability, which allows it to integrate with any foreign object that implements a then method regardless of class inheritance. The project covers broader capabilities
Provides a comprehensive toolkit for managing non-blocking operations and concurrent tasks in PHP.
Swoft 是一个高性能 PHP 微服务框架,旨在处理并发网络流量并使用协程执行异步任务。它通过协程驱动的运行时和支持 HTTP、WebSocket、RPC 和 TCP 协议的高性能服务器,为构建可扩展的后端服务提供了基础。 该框架通过一套治理和优化工具脱颖而出,包括用于注册、发现和熔断的分布式服务协调系统。它还具有用于可重用数据库和网络套接字的连接池管理器,以及用于拦截和扩展方法行为而不修改源代码的面向切面编程库。 其他功能包括用于组件解耦的依赖注入容器、用于繁重计算的进程池任务执行,以及用于循环任务的调度机制。该系统还支持集中式配置管理,以同步不同环境下的应用程序设置。
Enables the development of scalable microservices using PHP's asynchronous and coroutine-driven paradigms.
MadelineProto is an asynchronous PHP library that provides a programmatic interface for interacting with the Telegram API using the MTProto protocol, the same protocol used by official Telegram clients. It functions as both a Telegram bot SDK and a userbot automation library, enabling PHP applications to connect to Telegram as either a bot account or a regular user account, sending and receiving messages, media, and other data directly without relying on the Bot API intermediary. The library is built on an event-driven architecture with Amp v3 fiber-based concurrency, allowing for non-blockin
Built on Amp v3 fiber-based concurrency for non-blocking Telegram API interactions.
This framework is a distributed systems runtime designed for building fault-tolerant, message-driven microservices and high-performance network applications in PHP. It provides an asynchronous execution environment that utilizes event-loop-based concurrency and promise-based task orchestration to manage high-concurrency workloads without blocking execution threads. The platform distinguishes itself through a unified execution abstraction that manages multi-process and multi-threaded components as isolated, supervised containers. By employing an actor-model approach to process supervision, the
Provides a comprehensive framework for building high-concurrency, event-driven applications in PHP.