laravel new project_name
or
composer create-project --prefer-dist laravel/laravel:^7.0 project_name
After Installing Composer
composer create-project laravel/laravel myproject
//for authentication using jetstream etc.
composer require laravel/jetstream
//set database in .env file
php artisan migrate
php artisan serve
// Create project !! REMEBER TO CD INTO THE DIRECTORY YOU WANT HE PROJECT !!
composer create-project laravel/laravel your-project-name && cd your-project-name
// install composer and npm and generte artisan key
composer install && npm install && php artisan key:generate
// serve project
php artisan serve
//go to the laravel project
php artisan serve
http://127.0.0.1:8000
composer create-project --prefer-dist laravel/laravel app_example
// 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 "5.5.*"
composer create-project laravel/laravel example-app
This will install with the latest version of laravel
composer create-project laravel/laravel contoh-app
composer create-project --prefer-dist laravel/laravel AwesomeProject
composer create-project laravel/laravel Laravel_Vue_Ex
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
$ laravel new product-store
composer create-project laravel/laravel {directory} 4.2 --prefer-dist
or
laravel new "name"