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