#cli #authentication #laravel

PHP artisan make:auth in laravel 6.0

As you may have known by now that laravel 6.0 has been out. Though it’s expected to have a lot of changes in the major release but in 6.0 there are not that many changes.

It’s more like 5.9 in terms of changes.

But one major change introduced in laravel 6.0 is the removal of

php artisan make:auth

Command. As you may know, this was used to create the authentication scaffolding. Thought the concept is not removed but just the way to implement has been changed.

The New Way

Authentication support is now added with the help of a package now. you can read in detail about it in here

Command to implement the Auth are as follows.

composer require laravel/ui
php artisan ui vue --auth

All the other stuff is the same as 5.8. Same Routes, Controller and all the stuff.

Below is an explanatory video for the same. Please have a look.

Hope this was helpful

feel free to share your thought in the comment section.


Hi, I am Samgan, I know the adds are bit annoying but i hope you understand. Talking about me, I excel at solving complex problems involving logic and step by step breakdown of the problem. Besides, to develop complex algorithms, I specialize in problem framing, systems design, and product development strategy. Sometimes I also enjoy public speaking.  

I am also the creator of penit.ink, a site which provides young writers with a free hand place to show their creation to the world. Irrespective of the niche, if you write this place is defiantly for you.