PHP HTML JavaScript
Clone or download
Latest commit 2956184 Feb 13, 2018
Permalink
Failed to load latest commit information.
migrations Upgrade to Spark 6 Feb 12, 2018
resources Upgrade to Spark 6 Feb 12, 2018
src Apply fixes from StyleCI Feb 12, 2018
.editorconfig Upgrade to Spark 6 Feb 12, 2018
.gitignore Upgrade to Spark 6 Feb 12, 2018
CHANGELOG.md Upgrade to Spark 6 Feb 12, 2018
LICENSE Create LICENSE Apr 18, 2016
README.md Upgrade to Spark 6 Feb 12, 2018
composer.json Upgrade to Spark 6 Feb 12, 2018
composer.lock Upgrade to Spark 6 Feb 12, 2018

README.md

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.