How to install specific laravel version

Asked by: alf93
Date:
Viewed: 362
Answers: 1
  • 0

Hi,

If I want to install an earlier version of Laravel, how can I do that? Thanks

Answers

Answer by: jenniryan

Answered on: 20 Jul 2023

  • 0

The Laravel development is extremely rapid. New major versions are released every 12 months, sometimes with huge and breaking changes. So ocassionally it may not be the best idea to install the latest version of Laravel or update old projects. We can easily install a specific Laravel version using composer.

Make sure to download the Laravel installer first:

composer global require laravel/installer

Then install the version you want using the following command:

composer create-project laravel/laravel="7.2.*" ProjectName

 

Please log in to post an answer!