Registry / auth / pragmarx-google2fa-laravel

pragmarx-google2fa-laravel

JSON →
library3.0.1phppackagistunverified

A One Time Password Authentication package, compatible with Google Authenticator.

composer require pragmarx/google2fa-laravel
INSTALL
IMPORT
SIG · PRAGMARX-GOOGLE2FA
P
pragmarx-google2fa-laravel
authphpv3.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Google2FA
use PragmaRX\Google2FALaravel\Google2FA;

Generate a secret key for Google Authenticator.

use PragmaRX\Google2FALaravel\Google2FA; $google2fa = new Google2FA(); $secret = $google2fa->generateSecretKey(); echo $secret;
Debug
Known issues
breakingRequires PHP 7.4+ and Laravel 6+.
fix
Ensure your environment meets these requirements.
affects: >=3.0.0
Upgrade
Version history
3.0.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
20
Resources
pragmarx-google2fa-laravel — pip install pragmarx-google2fa-laravel · libregistry