The Laravel Artisan Cheatsheet now has an API. Learn more.

serve

Serve the application on the PHP development server

Options

  • host - The host address to serve the application on Optional
  • port - The port to serve the application on Optional
  • tries - The max number of ports to attempt to serve from Optional
php artisan serve [--host [HOST]] [--port [PORT]] [--tries [TRIES]]