PHPackages                             kzykhys/coupe - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. kzykhys/coupe

ActiveLibrary[HTTP &amp; Networking](/categories/http)

kzykhys/coupe
=============

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

v0.1.1(12y ago)41253[2 issues](https://github.com/kzykhys/coupe/issues)MITPHPPHP &gt;=5.5.0

Since Nov 27Pushed 12y ago9 watchersCompare

[ Source](https://github.com/kzykhys/coupe)[ Packagist](https://packagist.org/packages/kzykhys/coupe)[ RSS](/packages/kzykhys-coupe/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (8)Versions (4)Used By (0)

Coupé, A Handy HTTP/HTTPS Server written in *PURE* PHP
======================================================

[](#coupé-a-handy-httphttps-server-written-in-pure-php)

[![Latest Unstable Version](https://camo.githubusercontent.com/d0926d3adf38bdccf94238a0018a4941b382b188f0acf47d175a20526643de1f/68747470733a2f2f706f7365722e707567782e6f72672f6b7a796b6879732f636f7570652f762f756e737461626c652e706e67)](https://packagist.org/packages/kzykhys/coupe)[![Build Status](https://camo.githubusercontent.com/792d94b925697ab55072361e1f354f4f3cfdbc3a35577a33aa02519c10cd057d/68747470733a2f2f7472617669732d63692e6f72672f6b7a796b6879732f636f7570652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/kzykhys/coupe)[![SensioLabsInsight](https://camo.githubusercontent.com/0df9d0e323870b892f0df6ca9e59d882d469be47d8fb83ff124627d987356b27/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f32353733316634382d373263632d346537632d393130302d3139323637646439316231622f6d696e692e706e67)](https://insight.sensiolabs.com/projects/25731f48-72cc-4e7c-9100-19267dd91b1b)

- Non-blocking IO with coroutine (Generator) available in PHP5.5
- Based on [kzykhys/CoroutineIO](https://github.com/kzykhys/CoroutineIO)
- Tested against Wordpress, Symfony2

[![Terminal](https://camo.githubusercontent.com/00f41d641d50731fc654c10e51413ed351a856036a12f006f48abf32f9658554/687474703a2f2f6b7a796b6879732e636f6d2f636f7570652f6173736574732f696d672f7465726d696e616c2e706e673f763d32)](https://camo.githubusercontent.com/00f41d641d50731fc654c10e51413ed351a856036a12f006f48abf32f9658554/687474703a2f2f6b7a796b6879732e636f6d2f636f7570652f6173736574732f696d672f7465726d696e616c2e706e673f763d32)

Requirements
------------

[](#requirements)

- PHP5.5 (both CLI and CGI)
- (optional) OpenSSL

Installation
------------

[](#installation)

### On Unix

[](#on-unix)

```
curl -s http://kzykhys.com/coupe/install | php

```

### On Windows

[](#on-windows)

Download [coupe.phar](http://kzykhys.com/coupe/coupe.phar)

### Update

[](#update)

```
php coupe.phar self-update

```

Usage
-----

[](#usage)

Visit  for more information.

```
php coupe.phar help start

```

```
Usage:
 start [-t|--docroot="..."] [-s|--with-ssl[="..."]] [--without-ssl] [--fallback="..."] [address]

Arguments:
 address               : (default: "localhost:8080")

Options:
 --docroot (-t)        Specify document root
 --with-ssl (-s)       : (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
-------

[](#license)

The MIT License

Author
------

[](#author)

Kazuyuki Hayashi (@kzykhys)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~19 days

Total

2

Last Release

4526d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cd0b200991bf7fdebb898cc649bb1ed5ef429b3e70fe16b79729d1517051354f?d=identicon)[kzykhys](/maintainers/kzykhys)

---

Top Contributors

[![kzykhys](https://avatars.githubusercontent.com/u/1751547?v=4)](https://github.com/kzykhys "kzykhys (53 commits)")

---

Tags

httphttpswebserver

### Embed Badge

![Health badge](/badges/kzykhys-coupe/health.svg)

```
[![Health](https://phpackages.com/badges/kzykhys-coupe/health.svg)](https://phpackages.com/packages/kzykhys-coupe)
```

###  Alternatives

[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.4k37.3k](/packages/matomo-matomo)[hhxsv5/laravel-s

🚀 LaravelS is an out-of-the-box adapter between Laravel/Lumen and Swoole.

3.9k676.0k10](/packages/hhxsv5-laravel-s)[amphp/http-server

A non-blocking HTTP application server for PHP based on Amp.

1.3k4.5M81](/packages/amphp-http-server)[amphp/websocket-server

Websocket server for Amp's HTTP server.

124265.1k20](/packages/amphp-websocket-server)[swoole-bundle/swoole-bundle

Open/Swoole Symfony Bundle

6650.4k](/packages/swoole-bundle-swoole-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
