composer create-project laravel/laravel="5.1.*" myProject
composer create-project laravel/laravel:^8.* project_name
composer create-project laravel/laravel="5.7.*" ProjectName
composer create-project --prefer-dist laravel/laravel blog "7.*"
// That will install Version the latest version of Laravel 7.
// would install:
"laravel/framework": "^7.29",