kzykhys/coupe

A Handy HTTP/HTTPS Server for written in *PURE* PHP (5.5+)

Installs: 4

Dependents: 0

Stars: 44

Watchers: 6

Forks: 2

Open Issues: 2

Language: PHP

v0.1.1 2013-12-17 06:52 UTC

README

Latest Unstable Version Build Status SensioLabsInsight

  • Non-blocking IO with coroutine (Generator) available in PHP5.5
  • Based on kzykhys/CoroutineIO
  • Tested against Wordpress, Symfony2

Terminal

Requirements

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)