Based on Laravel's UI package this Auth package is a stripped down version with zero assumptions of your front-end framework choices. It uses simple authentication measures and basic form handling.
Exactly the way it works in Laravel UI. We run the following command to create our auth stubs.
php artisan make:auth
This will add all the files needed and append to our `web.php` routes file the required routes for authentication. Pass the --force flag to overwrite existing views.
php artisan make:auth --force
If you only need the authentication controllers scaffolded into app/Http/Controllers/Auth, run:
php artisan auth:controllers
You can also define middlewares as the second parameter in the `routes()` method, which will apply to the POST routes in this collection.
GrafiteAuth::routes([ 'login' => true, 'logout' => true, 'register' => true, 'reset' => true, 'confirm' => true, 'verify' => true, ], [ 'throttle:5,1' ]);