Skip to content

EP4/laravel-spark-google2fa

 
 

Repository files navigation

Google Authenticator for Laravel Spark 6

This package replaces the default two-factor authentication driver with Google Authenticator.

Demo

Installation

  • composer require eusebiu/laravel-spark-google2fa
  • php artisan vendor:publish --provider="Eusebiu\LaravelSparkGoogle2FA\Google2FAServiceProvider" --force
  • php artisan migrate
  • npm run dev

Customization

To change the display name in the authenticator app, add 2fa_name in your SparkServiceProvider file. By default vendor or the app url is used.

Packages

No packages published

Languages

  • PHP 59.2%
  • HTML 28.1%
  • JavaScript 12.7%