Download the PHP package nextvikas/laravel-google-authenticator without Composer
On this page you can find all versions of the php package nextvikas/laravel-google-authenticator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nextvikas/laravel-google-authenticator
More information about nextvikas/laravel-google-authenticator
Files in nextvikas/laravel-google-authenticator
Package laravel-google-authenticator
Short Description A highly secure, dependency-free package to add Google Two-Factor Authentication (2FA) to Laravel applications.
License MIT
Homepage https://github.com/nextvikas/laravel-google-authenticator
Informations about the package laravel-google-authenticator
Laravel Google Authenticator
This package provides seamless integration of Google Authenticator for two-step verification in Laravel applications. It enhances security by requiring users to enter a time-based one-time password (TOTP) generated by the Google Authenticator app, in addition to their primary login credentials. This ensures an extra layer of protection against unauthorized access. With an easy-to-use API, this package simplifies the implementation of two-factor authentication (2FA) and includes features like QR code generation and token validation
Version
This is the first stable release:
v1.0.0
Requirements
The current package requirements are:
- PHP: "^7.4 || ^8.0 || ^8.1 || ^8.2 || ^8.3"
- Laravel: "^7.0|^8.0|^9.0|^10.0|^11.0|^12.0"
Installation
1. Add to composer.json
2. Publish the Files Using artisan vendor:publish command For a package, you typically use vendor:publish to copy files like migration or configuration files from the nextvikas/laravel-google-authenticator to your application.
3. Run the Migration
Demo
Documentation
Once the extension is installed, Simply add Authenticator middleware to whatever you want to secure, and that's it, your work ends here and Authenticator begins...
or you can use multiple middleware in the same like:
or you can use in single route middleware in the same like:
or like:
Note: Please note that any names you write in middleware 'authenticator:', alongside must be included in the configuration file 'config\authenticator.php'
Simply change default configration values on config\authenticator.php file:
Modify View Files
Open:
And then you can modify the view files with your own stylist UI.
All versions of laravel-google-authenticator with dependencies
laravel/framework Version ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0