php artisan serve
snippet in php

php artisan serve

user4259

The full command works like this:

php artisan serve --host=<host IP address> --port=<port to use>

php artisan serve --host=127.0.0.1 --port=8080

php artisan serve

user891

// run laravel project 
php artisan serve --port="port" --host="host"

how to start composer in laravel project on localhost

user1858

php artisan serve
  // The original answer is:
  /* 
  The full command works like this:

php artisan serve --host=<host IP address> --port=<port to use>

php artisan serve --host=127.0.0.1 --port=8080
  */