install specific version of package of laravel installer code example
Example: install particular version of laravel
composer create-project laravel/laravel="5.1.*" myProject
composer create-project laravel/laravel="5.1.*" myProject