eusebiu/laravel-spark-google2fa

This package is abandoned and no longer maintained. No replacement package was suggested.

Google Authenticator support for Laravel Spark.

3.0.0 2019-12-14 18:13 UTC

This package is auto-updated.

Last update: 2020-12-14 20:32:00 UTC


README

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.