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