How I can Install specific Laravel version ??
-
I want to install old version laravel in my machine!
What to do now???
-
composer create-project laravel/laravel=6.0 blog --prefer-dist
-
Where I put this command??
-
go to terminal and special folder where do you want to intall laravel then run this command
-
If I could this!
then the prety URL could work and my composer autoLoad work properly??
-
This post is the top one in Google search. I just want to share how I do it:
- Open Laragon > Right click > Quick app > Configuration...
- Under
# Laravel
the default one isLaravel=composer create-project laravel/laravel %s --prefer-dist
- Note that
%s
in the command line will be replaced dynamically with the name of the app Laragon will prompt you later. - Add a new line to specify another version, in my case Laravel 6, therefore I name the variable as
Laravel 6
. My line looks like this:
Laravel 6=composer create-project laravel/laravel %s "6.*" --prefer-dist
- Save and go to Laragon and under Right click > Quick app > You can see Laravel 6 option in the Laravel group.
-
@wanahmadfiras Thank for the step by step answer, works perfectly!