88

phormio/cli-server-router - Packagist

 6 years ago
source link: https://packagist.org/packages/phormio/cli-server-router
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

phormio/cli-server-router

1.0.0

2017-11-04 20:20 UTC

CC0-1.0 efc36b281167a23f8a5912016e6befabc3cf8af9

This package is not auto-updated.

Last update: 2022-06-19 20:09:18 UTC


README

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.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK