5 dépôts
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 est un framework PHP microservice haute performance conçu pour gérer le trafic réseau concurrent et les tâches asynchrones en utilisant des coroutines. Il fournit une base pour construire des services backend évolutifs via un runtime piloté par coroutines et des serveurs haute performance prenant en charge les protocoles HTTP, WebSocket, RPC et TCP. Le framework se distingue par un ensemble d'outils de gouvernance et d'optimisation, incluant un système de coordination de services distribués pour l'enregistrement, la découverte et le circuit breaking. Il dispose également d'un gestionnaire de pool de connexions pour les sockets de base de données et réseau réutilisables, ainsi qu'une bibliothèque pour la programmation orientée aspect afin d'intercepter et d'étendre le comportement des méthodes sans modifier le code source. Les capacités supplémentaires incluent un conteneur d'injection de dépendances pour le découplage des composants, l'exécution de tâches en pool de processus pour les calculs lourds et un mécanisme de planification pour les tâches récurrentes. Le système prend également en charge la gestion centralisée de la configuration pour synchroniser les paramètres d'application à travers différents environnements.
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.