laravel create project with version code example
Example 1: create laravel 6 project using composer
composer create-project --prefer-dist laravel/laravel blog "6.*"
Example 2: laravel new project
composer create-project laravel/laravel example-app
cd example-app
php artisan serve
Example 3: create new laravel project with specific version
composer create-project laravel/laravel=7.0 my-project-name --prefer-dist