How to install specific laravel version

Question

Hi,

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

Answer ( 1 )

    0
    2023-01-25T17:04:15+00:00

    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

Leave an answer