amphp/aerys is a non-blocking HTTP/1.1 and HTTP/2 application, websocket and static file server written in PHP.

Required PHP Version

  • PHP 7

Optional Extension Backends

Current Stable Version

Aerys has currently a few 0.x tags. APIs are still subject to very small changes and you may run into rogue bugs features. We love PRs, though :-)


composer require amphp/aerys

First Run

vendor/bin/aerys -d -c demo.php

Note: In production you’ll want to drop the -d (debug mode) flag. For development it is pretty helpful though. -c demo.php tells the program where to find the config file.

Blog Posts

Start with the Tutorial or check the Classes docs out