PHPackages                             phormio/cli-server-router - 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. [CLI &amp; Console](/categories/cli)
4. /
5. phormio/cli-server-router

ActiveLibrary[CLI &amp; Console](/categories/cli)

phormio/cli-server-router
=========================

A simple router for the PHP CLI web server

1.0.0(8y ago)113CC0-1.0PHPPHP &gt;= 5.4.0

Since Nov 4Pushed 8y agoCompare

[ Source](https://github.com/phormio/php-cli-server-router)[ Packagist](https://packagist.org/packages/phormio/cli-server-router)[ RSS](/packages/phormio-cli-server-router/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

```
INTRODUCTION

This package provides a basic router for the PHP CLI web server.  You might
use it as follows:

  php -S localhost:8000 src/router.php

FEATURES

  * index.xhtml is a possible directory index.

  * More content types are available.

  /etc/mime.types is used, on systems that have it, to map extensions to
  content types.  On systems that lack this file, an internal copy is used.

OPERATING SYSTEMS

The router should work on all OSes supported by PHP.  However, at time of
writing, the software has only been tested on Unix.

INSTALLATION

Install with Composer (the package name is phormio/cli-server-router) or
just clone the repository.
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3112d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3fcb30085bd36cf3cdacbf5994e74f552dddb244145786ed58bb2011d281eb63?d=identicon)[jpsmith](/maintainers/jpsmith)

---

Top Contributors

[![phormio](https://avatars.githubusercontent.com/u/28146332?v=4)](https://github.com/phormio "phormio (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/phormio-cli-server-router/health.svg)

```
[![Health](https://phpackages.com/badges/phormio-cli-server-router/health.svg)](https://phpackages.com/packages/phormio-cli-server-router)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

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