Amp provides all basic features. It defines the basic interfaces and contains standard implementations for those.
Streams are an abstraction over ordered sequences of bytes. This package provides the
InputStream
and OutputStream
interfaces and basic implementations
of those.
Provides helper functions to easily connect asynchronously to servers and creating server sockets. Also contains higher-level server and client socket implementations.
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
.
An advanced HTTP application server with support for HTTP/1 and HTTP/2.
Session management for the HTTP server.
A routing component for the HTTP server.
Asynchronous HTTP client with support for HTTP/1 and HTTP/2, concurrent requests, automatic compression, persistent connections and cookie support.
MySQL client with support for connection pooling.
Postgres client.
Redis client with support for PubSub.
Promise-aware caching API specification and implementation.
Async child-process dispatcher.
Parallel processing using native threading and multiprocessing.
Uri Parser and Resolver.
Windows Registry reader.
Wrapper around amphp/parallel
making parallel processing really simple.
A library to build streaming parsers. This library doesn't depend on Amp.
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.