Amp

Amp provides all basic features. It defines the basic interfaces and contains standard implementations for those.

Basic Components

byte-stream

Streams are an abstraction over ordered sequences of bytes. This package provides the InputStream and OutputStream interfaces and basic implementations of those.

socket

Provides helper functions to easily connect asynchronously to servers and creating server sockets. Also contains higher-level server and client socket implementations.

dns

Provides asynchronous DNS resolution and queries. This package has built-in support for OS specific system configurations and respects e.g. /etc/hosts and /etc/resolv.conf.

HTTP Components

http-server

An advanced HTTP application server with support for HTTP/1 and HTTP/2.

http-server-session

Session management for the HTTP server.

http-server-router

A routing component for the HTTP server.

http-client

Asynchronous HTTP client with support for HTTP/1 and HTTP/2, concurrent requests, automatic compression, persistent connections and cookie support.

websocket

A WebSocket client compliant with RFC 6455.

Database Components

mysql

MySQL client with support for connection pooling.

postgres

Postgres client.

redis

Redis client with support for PubSub.

Message Queue Components

beanstalk

BeanstalkD client.

stomp

STOMP client.

Utility Components

cache

Promise-aware caching API specification and implementation.

process

Async child-process dispatcher.

parallel

Parallel processing using native threading and multiprocessing.

uri

Uri Parser and Resolver.

windows-registry

Windows Registry reader.

parallel-functions

Wrapper around amphp/parallel making parallel processing really simple.

Other Components

parser

A library to build streaming parsers. This library doesn't depend on Amp.


More Compatible Packages

Apart from the listed packages, there are other compatible packages from other vendors. Compatible packages should use the amphp tag on GitHub.

Additionally, all libraries compatible with ReactPHP are fully compatible with Amp by using our adapter.