Laravel 11 Authentication Scaffold using Laravel Fortify and Bootstrap.
- Authentication Scaffolding Using Laravel Fortify
- Forget Password & User Profile Update with Laravel Fortify
- Email Verification using Laravel Fortify
- Two Factor Authentication (2FA) with Laravel Fortify
Download or clone this repo
$ git clone https://github.com/qirolab/laravel-fortify-example.git
Install all dependency required by Laravel.
$ composer install
Generate app key, configure .env
file and do migration.
# create copy of .env
$ cp .env.example .env
# create Laravel key
$ php artisan key:generate
# run migration
$ php artisan migrate
Register at mailtrap.io or other service and paste credentials at .env to send messages:
MAIL_MAILER=smtp
MAIL_HOST=sandbox.smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=123456789
MAIL_PASSWORD=987654321
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=admin@localhost
MAIL_FROM_NAME="${APP_NAME}"