kzykhys / coupe
A Handy HTTP/HTTPS Server for written in *PURE* PHP (5.5+)
v0.1.1
2013-12-17 06:52 UTC
Requires
- php: >=5.5.0
- kzykhys/bowl: ~1.0
- kzykhys/coroutine-io: ~0.1
- kzykhys/text: ~1.0
- psr/log: ~1.0
- symfony/console: ~2.3
- symfony/process: ~2.3
Requires (Dev)
- symfony/filesystem: ~2.3
- symfony/finder: ~2.3
This package is not auto-updated.
Last update: 2024-11-19 03:01:14 UTC
README
- Non-blocking IO with coroutine (Generator) available in PHP5.5
- Based on kzykhys/CoroutineIO
- Tested against Wordpress, Symfony2
Requirements
- PHP5.5 (both CLI and CGI)
- (optional) OpenSSL http://www.php.net/manual/en/openssl.installation.php
Installation
On Unix
curl -s http://kzykhys.com/coupe/install | php
On Windows
Download coupe.phar
Update
php coupe.phar self-update
Usage
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.
License
The MIT License
Author
Kazuyuki Hayashi (@kzykhys)