Create an specific version of Laravel project.

Ariel Mejia Dev
Ariel Mejia Dev
Published in
1 min readApr 19, 2019

If you have Composer install the comand to install laravel is:

composer create-project laravel/laravel myApp

This creates a project as “myApp”, but always it creates a project with the lastest stable version, at the moment of this post, Laravel 5.8, but what if I need to install other version, well the command line change a little:

composer create-project laravel/laravel="5.5.*" myApp

Now you could have a project with version 5.5, this is helpful if you need to work with specific LTS version, if you need other version just change the version to any version you desire.

Thats all folks, Happy coding!

--

--

Ariel Mejia Dev
Ariel Mejia Dev

Fullstack Web/Mobile Developer and Laravel enthusiast.