composer install laravel specific version code example
Example 1: install particular version of laravel
composer create-project laravel/laravel="5.1.*" myProject
Example 2: install laravel specific version using composer
composer create-project --prefer-dist laravel/laravel blog "6.*"
Example 3: create laravel project specific version
composer create-project laravel/laravel="5.1.*" appName