How to install specific Laravel version using composer

First, download the Laravel installer using Composer:

composer global require laravel/installer


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

Posting daily about Python, Nuclear Physicist PhD