Laravel

Laravel 6 Authentication

Pinterest LinkedIn Tumblr

You want login and registration using auth in laravel 6. Laravel 6 provide septate composer package for creating auth scaffold in laravel 6.
Then we need to Install laravel/ui package in laravel 6.

You are the right place.

You have to follow a few steps to make auth in your laravel 6 application.

The first step we need to install laravel/ui package.

composer require laravel/ui

Now you run command and check UI commands info

php artisan ui --help

You can use the following commands for creating auth:

Using Vue:

php artisan ui vue --auth

Now you need to run npm command, otherwise, you can not see the better layout of login and register page.

Install NPM:

npm install

Run NPM:

npm run dev

Now, you can run and check your app.

Hope so it will help you.

Write A Comment