Looking to hire Laravel developers? Try LaraJobs

laravel-spark-google2fa maintained by eusebiu

Description
Google Authenticator support for Laravel Spark.
Last update
2019/12/14 19:15 (dev-master)
License
Links
Downloads
41 554

Comments
comments powered by Disqus

Google Authenticator for Laravel Spark 9

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.