- Laravel 11
- PHP 8.1
- Composer 2.x
- Clone the repository.
- Run composer install to install dependencies.
- Change the .env.example to .env and add your database info
- Set up your database configuration in the .env file.
- Run php artisan migrate to set up the necessary tables.
- Install the required package for Google2FA.
- Publish the package configuration.
- Implement and customize as needed.
composer install
php artisan migrate
composer require pragmarx/google2fa-laravel
php artisan vendor:publish --provider="PragmaRX\Google2FALaravel\ServiceProvider"
npm install
npm run dev
php artisan serve