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