/asynchronous-php

List of resources for asynchronous programming in PHP

Creative Commons Zero v1.0 UniversalCC0-1.0

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

Icicle is a PHP library for writing asynchronous code using synchronous coding techniques.

React

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

Kraken

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

Recoil

Cooperative multitasking for PHP via coroutines.

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
  • icicleio/icicle - Library for writing asynchronous code using synchronous coding techniques

Caching

CLI

Compression

Databases

DNS

Events

Filesystems

GUIs

HTTP

Interoperability

IRC

Messaging

Multitasking

Networking

Promises

Sockets and Streams

Web Applications

Web Services

People