create laravel project
snippet in php

create laravel 6 project using composer

user6010

composer create-project --prefer-dist laravel/laravel blog "6.*"

how to install laravel 7

user863

composer create-project --prefer-dist laravel/laravel:^7.0 blog

install laravel

user3964

composer create-project --prefer-dist laravel/laravel blog

laravel create project

user6110

// To install and use a specific version, you can enter it at the end of the command.
// For example using version 5.8 ==>
composer create-project --prefer-dist laravel/laravel projectName "5.8.*"

create laravel project

user5675

composer create-project laravel/laravel example-app

cd example-app

php artisan serve

insall laravel

user2235

composer global require laravel/installer 
laravel new blog