Auth resources missing in laravel

I want to use the auth system that comes with the laravel package, but the problem is that I am making a new laravel package using composer. The name of the larvel / laravel project creator project for the composer is --prefer-dist, he does not install these auth resources, which include (for example, auth folder inside resources> views), and I can not find the Services folder inside the application directory. Everything else works fine except for this authentication system. What are the possible problems? Please give me a solution. I work with MAMP.

+7
php laravel-5
source share
3 answers

Taylor Otwell made opt-in for Laravel 5.1

After installation, run the following command

php artisan scaffold:auth 

UPDATE

I think this was answered here

+7
source share

You can also run the php artisan make:auth in the root directory of the laravel project. I had the same issue and it worked for me.

The php artisan scaffold:auth command didn't work for me, I don't know why. he gave an error:

  [Symfony\Component\Console\Exception\CommandNotFoundException] Command "auth" is not defined. Did you mean this? make:auth 
+4
source share

in Laravel 5.2 you just need to run this command "php artisan make: auth" and the auth folder will be created

+1
source share

All Articles