Getting Started with Amp

First step when getting started with amphp/amp is installing it. amphp/amp doesn’t require any extensions for its core functionality. You can just add it as a dependency to your composer.json file or run composer require amphp/amp.

    "require": {
        "amphp/amp": "^1"

Minimum PHP Version

amphp/amp requires PHP 5.5+, other packages might require 5.6+ or 7.0+.

Optional Extension Backends

Extension backends are optional, but may lead to better performance with a lot of concurrent socket connections.


amphp/amp follows the semver semantic versioning specification like all other amphp packages.

Blog Posts

In addition to this documentation, you might find the following blog posts interesting:

Continue with Reactor Concepts.