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

Written by

Web geek, Self-taught full-stack web developer, Learning Python, Laravel, Vuejs, UX/UI design, Nuclear Physicist PhD

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store