mirror of
https://github.com/danog/amp.git
synced 2024-11-27 04:24:42 +01:00
3af013d418
Amp Future instances double both as Promisor and Promise implementations when AMP_DEBUG is defined and set to false. This switch allows private Promise resolution safety by default at the expense of performance. Amp applications should set AMP_DEBUG to false in production environments to maximize performance. |
||
---|---|---|
examples | ||
lib | ||
test | ||
.gitignore | ||
.travis.yml | ||
CHANGELOG.md | ||
composer.json | ||
CONTRIBUTING | ||
guide.md | ||
LICENSE | ||
phpunit.xml | ||
README.md |
Amp
amphp/amp
is a non-blocking concurrency framework for PHP applications. Learn more about Amp in the
Guide.
Dependencies
- PHP 7
Installation
$ git clone https://github.com/amphp/amp.git
-or-
$ composer require amphp/amp
The appropriate composer versions:
- PHP7: "v2.0.0-dev"
- PHP5.5+: "v1.0.0-dev"
Versioning
Amp strives to follow the SemVer specification.