start laravel app code example
Example 1: laravel 8 new project
composer create-project --prefer-dist laravel/laravel blog
Example 2: laravel new project
laravel new blog
Example 3: how to start composer in laravel project on localhost
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
*/