- Non-blocking IO with coroutine (Generator) available in PHP5.5
- Based on kzykhys/CoroutineIO
- Tested against Wordpress, Symfony2
- PHP5.5 (both CLI and CGI)
- (optional) OpenSSL http://www.php.net/manual/en/openssl.installation.php
curl -s http://kzykhys.com/coupe/install | php
Download coupe.phar
php coupe.phar self-update
Visit http://kzykhys.com/coupe for more information.
php coupe.phar help start
Usage:
start [-t|--docroot="..."] [-s|--with-ssl[="..."]] [--without-ssl] [--fallback="..."] [address]
Arguments:
address <host>:<port> (default: "localhost:8080")
Options:
--docroot (-t) Specify document root
--with-ssl (-s) <host>:<port> (default: "localhost:8443")
--without-ssl Disables ssl transport
--fallback Fallback script (default: false)
--help (-h) Display this help message.
--quiet (-q) Do not output any message.
--verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version (-V) Display this application version.
--ansi Force ANSI output.
--no-ansi Disable ANSI output.
--no-interaction (-n) Do not ask any interactive question.
The MIT License
Kazuyuki Hayashi (@kzykhys)