Skip to content

Latest commit

 

History

History
338 lines (244 loc) · 19.2 KB

README.md

File metadata and controls

338 lines (244 loc) · 19.2 KB

Asynchronous PHP

Over time, I've noticed a lot of interesting information, code, and people centered around topics related to asynchronous programming using PHP. I thought it might be useful to try to catalog them all in one place. This repository is the result and fairly experimental in concept. Feel free to file an issue or submit a pull request if you think there's anything that should be added or changed.

Concepts

Asynchronous

Blocking

Concurrency

Coroutines

Events

Multitasking

Observables

Promises

Reactive Programming

Threads

Projects

amphp

A non-blocking concurrency framework for PHP applications.

appserver.io

A multithreaded application server for PHP, written in PHP.

Async PHP

Icicle

A PHP library for writing asynchronous code using synchronous coding techniques.

Deprecated in favor of Amp v2.

Kraken

PHP framework for creating multi-processed, multi-threaded, fault-tolerant applications using event-driven, message-driven and agent-based architecture.

phpDaemon

Asynchronous server-side framework for network applications implemented in PHP using libevent.

React

Event-driven, non-blocking I/O with PHP.

Recoil

Cooperative multitasking for PHP via coroutines.

Revolt

Swoole

Asynchronous concurrent distributed networking framework for PHP

Repositories

Asynchronous

  • asm89/Rx.PHP - Libraries to compose asynchronous and event-based programs using observable collections and LINQ-style query operators
  • clue/php-block-react - Lightweight library that eases integrating async components built for React in a traditional blocking environment
  • spatie/async - Asynchronous and parallel PHP, this library provides a small and easy wrapper around PHP's PCNTL extension. It allows running of different processes in parallel, with an easy-to-use API

Caching

CLI

Compression

Databases

DNS

Events

Filesystems

GUIs

  • clue/php-zenity-react - Build graphical desktop (GUI) applications in PHP
  • Ardillo - Cross-platform desktop applications on top of ReactPHP

HTTP

Interoperability

IRC

Messaging

Multitasking

Networking

Promises

Sockets and Streams

Web Applications

Web Services

People