Specify the version required in a Composer create-project command
composer create-project laravel/laravel myproject "7.*"