Then run the install command: php artisan authentication:installNote: you need to setup your database configuration before running the command, check out: configuring laravel database
Now you can find various configuration files under config/ folder.
Now open the file app/Http/Kernel.php and add the following lines to your $routeMiddleware array:
'admin_logged' => \LaravelAcl\Http\Middleware\AdminLogged::class,
'logged' => \LaravelAcl\Http\Middleware\Logged::class,
'can_see' => \LaravelAcl\Http\Middleware\CanSee::class,
'has_perm' => \LaravelAcl\Http\Middleware\HasPerm::class,
Now you need to install the application, to do that run the command: php artisan authentication:install.
If so, then perhaps step 7 could say, "run the install command again", to make clear to the reader that the repetition is not a mistake; and should ideally also explain the rationale behind running the same command twice.
Steps 5 and 7 of the Setup section of the docs tell the user to run the same command. Is this intentional?
If so, then perhaps step 7 could say, "run the install command again", to make clear to the reader that the repetition is not a mistake; and should ideally also explain the rationale behind running the same command twice.