Artisan command "make:auth" is not defined in Laravel 6

af rizal picture af rizal · Sep 3, 2019 · Viewed 45.8k times · Source

I have a problem when creating login/auth in Laravel 6. I typed "make: auth" in the terminal and I get an error "Command" make: auth "appears not defined." Is there a solution for this?

Answer

ceejayoz picture ceejayoz · Sep 3, 2019

Looks like L6 moves the Auth scaffolding into a separate package.

https://laravel.com/docs/6.0/authentication

Want to get started fast? Install the laravel/ui Composer package and run php artisan ui vue --auth in a fresh Laravel application.