composer create-project laravel/laravel:^8.0 example-app
cd example-app
php artisan serve
Laravel 9* install composer comand
composer create-project laravel/laravel example-app
cd example-app
php artisan serve
composer create-project --prefer-dist laravel/laravel test "8.*"
curl -s https://laravel.build/app-name | bash
<!-- OR -->
composer create-project --prefer-dist laravel/laravel app-name "8.*"
$ composer create-project --prefer-dist laravel/laravel laravel-8-crud-app 8
composer create-project --prefer-dist laravel/laravel ProjectName dev-develop