composer laravel specify version code example
Example 1: create laravel project specific version
composer create-project laravel/laravel="5.1.*" appName
Example 2: composer create project laravel with version
composer create-project laravel/laravel=4.1.27 your-project-name --prefer-dist