create new project in laravel 7 using composer code example
Example 1: create laravel 6 project using composer
composer create-project --prefer-dist laravel/laravel blog "6.*"
Example 2: laravel new project
laravel new blog
composer create-project --prefer-dist laravel/laravel blog "6.*"
laravel new blog