Documentation Packages Getting Started FAQ Support

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

aerys

An advanced HTTP application, WebSocket and file server with support for HTTP/1.1 and HTTP/2.

aerys-session

Session management for the Aerys HTTP server.

aerys-reverse

Reverse HTTP proxy handler for Aerys.

artax

An advanced HTTP client with support for automatic compression, keep-alive 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.

parser

A library to build streaming parsers.

windows-registry

Windows Registry reader.


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.