create laravel project with version

PHP
composer create-project --prefer-dist laravel/laravel blog "6.*"composer global require laravel/installer 
laravel new blogcomposer create-project laravel/laravel="5.1.*" appNamecomposer create-project laravel/laravel=4.1.27 your-project-name --prefer-dist
Source

Also in PHP: