How to install specific Laravel version using composer

Panjeh
1 min readNov 24, 2019

--

First, download the Laravel installer using Composer:

composer global require laravel/installer

Then

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

by using"5.7.*" you will be sure that you get all the latest patches in the 5.7 branch. And then:

php artisan make:auth

for installing auth scaffolding.

Provide database access in “.env” file and then:

php artisan migrate

--

--