senger/google-2fa

Autenticação em 2 fatores

Installs: 31

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/senger/google-2fa

v1.0 2020-07-17 00:21 UTC

This package is auto-updated.

Last update: 2025-12-28 02:09:04 UTC


README

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

Ex:

use Senger\Google2fa\GoogleAuthenticator;

$ga = new GoogleAuthenticator();

$secret = $ga->createSecret();

$ga->verifyCode($secret, $gacode, 1);

Google 2fa.