DEV Community

Cover image for Laravel 8 Authentication
shani singh
shani singh

Posted on

4

Laravel 8 Authentication

As Laravel 8 has removed default auth Scaffolding, I will explain about adding auth scaffolding in Laravel 8.

we can add the laravel/ui package has bootstrap and Vue UI Component and auth scaffolding.

To know more about this package you can visit
Github Laravel UI.

Steps To Add in Laravel 8

Step 1

Include the laravel/ui package into project,

composer require laravel/ui
Enter fullscreen mode Exit fullscreen mode

Once the laravel/ui package has been installed, you may install the frontend scaffolding using the ui Artisan command:

// Generate basic scaffolding...
php artisan ui bootstrap
php artisan ui vue
php artisan ui react

// Generate login / registration scaffolding...
php artisan ui bootstrap --auth
php artisan ui vue --auth
php artisan ui react --auth
Enter fullscreen mode Exit fullscreen mode

Step 2

After including UI Components now we have to add CSS and JS Files, For that, we need to run the following commands.

npm install
npm run dev
Enter fullscreen mode Exit fullscreen mode

You can watch this video I have explained this.


Thank You for Reading

Reach Out To me.
Twitter
Instagram
TechToolIndia

Image of Datadog

How to Diagram Your Cloud Architecture

Cloud architecture diagrams provide critical visibility into the resources in your environment and how they’re connected. In our latest eBook, AWS Solution Architects Jason Mimick and James Wenzel walk through best practices on how to build effective and professional diagrams.

Download the Free eBook

Top comments (1)

Collapse
 
eduardo_dx profile image
Eduardo D.

Good tutorial

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay