Skip links

User Authentication – Login/Registration in Laravel 8

Install Login UI

composer require laravel/ui --dev

make sure you are in laravel folder before you install laravel/ui,


Installing UI / options are vue, bootstrap and react

php artisan ui bootstrap --auth

Install Dependencies

sudo npm install && npm run dev

Creating Controller with 7 Rest methods & Controller together

php artisan make:controller Pagecontroller -r -m Page

-r creates 7 rest methods in Controller: index, create, store, show, edit, update & destroy.

Leave a comment