illuminate/app — pull request #5 by whitman (2012-10-23 11:55:43+00:00)
Title: Add router script for the PHP built-in web server

PHP 5.4 includes a built-in web server. This commit adds a router
script which emulates the mod_rewrite/htaccess functionality by routing
all requests to public/index.php unless the requested file exists.
This script is used by:

php -S localhost:8000 router.php

Using this allows local dev/testing without having to run a dedicated
web server instance.