Run PHP's built-in dev server with a router script
Starts PHP's built-in web server on port 8000, useful for prototyping without configuring Apache or nginx. The second argument names a router script that handles every request, typically by dispatching paths to your front controller. Use -t public to serve a document root instead.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.