Usage Using PHP CLI php-server [<address>][:<port>] [<doc root>] Using Yii2 CLI ./yii serve 0.0.0.0 -t . -r /path/to/php-server-router/router.php