Installing specific version of Laravel with composer

To install specific version of Laravel please run below command on your terminal

composer create-project laravel/laravel=version-to-install your-project-name --prefer-dist

Note : Change version-to-install to the version you want to install and your-project-name to name of yyour project.
Example:

composer create-project laravel/laravel=5.2.11 my-music-blog --prefer-dist

Leave a Reply

Your email address will not be published. Required fields are marked *