Create Scaffold with Laravel 5.7 — Authentication (Part 1)

Alfredo Barron
modulr
Published in
3 min readSep 20, 2018

--

We will create a scaffold with Laravel 5.7 to using like base for our future projects. The first step is learning to create a authentication system.

Table of Contents

Install Laravel Application

First step open your terminal and typing the next command:

laravel new laravel-scaffold

Install Laravel Authentication

Enter to folder project an run the next command:

cd laravel-scaffold
php artisan make:auth

Create DB

Run the next commands:

mysql -u{user} -p{password}
mysql> create database laravel-scaffold;

Configure DB

Edit .env file

nano .env

Into .env file fill the data base vars

DB_CONNECTION=mysql…

--

--