composer create-project --prefer-dist laravel/laravel blog
//here blog is you project name you can change this figure
//to whatever you want to make the name of your project
just run this command(make sure to have Composer installed on your machine from: https://getcomposer.org/download/):
composer create-project laravel/laravel project-name
<!-- The curl option works with sail (Docker) -->
curl -s https://laravel.build/app-name | bash
cd app-name
sail up -d
<!-- OR -->
composer create-project --prefer-dist laravel/laravel app-name "8.*"
// 3 ways to create project in laravel
composer create-project --prefer-dist laravel/laravel APIDemo
laravel new laravel-backend-api
composer global require laravel/installer
composer create-project --prefer-dist laravel/laravel blog
//here blog is you project name you can change this figure
//to whatever you want to make the name of your project