php cli server on http code example
Example 1: php make server
cd <PATH TO YOUR APP>
php -S localhost:<PORT>
Example 2: phpserver
$ php -S localhost:8000 router.php
cd <PATH TO YOUR APP>
php -S localhost:<PORT>
$ php -S localhost:8000 router.php