Satch3000 Satch3000 - 2 months ago 24
PHP Question

Laravel 5.1.19 Artisan make:auth is not available

I have installed the latest version of laravel 5.1.19.

I've tried running:

php artisan make:auth


But it's returning:

[InvalidArgumentException]
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


Is this command no longer available?

I'm on a mac os x by the way.

Answer

Yes, that command is not available as the Auth feature comes default by the laravel/laravel package.

If you check the Illuminate/Auth/Console, which is the place of console commands for the auth package, you will only see that the only available command is auth:clear-resets

You can see from the commit that make:auth has been removed for a year.