5 Repos
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 ist ein hochperformantes PHP-Microservice-Framework, das darauf ausgelegt ist, gleichzeitigen Netzwerkverkehr und asynchrone Aufgaben mittels Coroutines zu bewältigen. Es bietet eine Grundlage für den Aufbau skalierbarer Backend-Dienste durch eine Coroutine-gesteuerte Runtime und hochperformante Server, die HTTP-, WebSocket-, RPC- und TCP-Protokolle unterstützen. Das Framework zeichnet sich durch eine Reihe von Governance- und Optimierungstools aus, einschließlich eines verteilten Service-Koordinationssystems für Registrierung, Discovery und Circuit Breaking. Es verfügt zudem über einen Connection-Pool-Manager für wiederverwendbare Datenbank- und Netzwerk-Sockets sowie eine Bibliothek für aspektorientierte Programmierung, um das Methodenverhalten abzufangen und zu erweitern, ohne den Quellcode zu modifizieren. Zusätzliche Funktionen umfassen einen Dependency-Injection-Container für die Entkopplung von Komponenten, Process-Pool-Aufgabenausführung für rechenintensive Aufgaben und einen Planungsmechanismus für wiederkehrende Aufgaben. Das System unterstützt zudem zentralisiertes Konfigurationsmanagement, um Anwendungseinstellungen über verschiedene Umgebungen hinweg zu synchronisieren.
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.