Get In Touch
  • First Lane Marg, Kumaripati-5,
    Lalitpur Metropolitan City, Nepal

  • Email: nepal@globdig.com

Install Laravel 5-8 application with different versions

August 4, 2021

Laravel framework, the latest framework version is @ 8.* and to install latest stable laravel application we can use :

composer create-project --prefer-dist laravel/laravel project-name

If we want to use the older version like 5.3,5.2 and older ones we can use the code one given below:

composer create-project laravel/laravel project-name 8.*

above code is just an example for the 5.2 version

similarly the just replacing the version name with other version will provide you the older version of laravel.

Also to install upcoming version we can use:

composer create-project laravel/laravel project-name dev-develop

For more laravel stuff visit the dev doc : laravel 8,X installation