I’m trying to run this command in Laravel 8.57.0 but it’s not working:
PHP artisan make:auth
and the error is :
Command "make:auth" is not defined Did you mean one of these? make:test make:request make:migration make:seeder make:middleware make:controller make:provider make:policy make:event make:console make:job make:listener make:model make:command
I also tried
composer require laravel/ui php artisan ui vue --auth php artisan migrate
but still have the same error. So, I guess that either I am using the wrong command or I am trying to do something that can not be done.
Maybe most likely experienced people will see right away what is wrong.
What are you trying to do exactly? Create the authentication scaffolding from the
If so, then these two commands should be enough:
composer require laravel/ui php artisan ui vue --auth
You can read further about it here.
Answered By – Cosmin