cachesistemas/google-authenticator

There is no license information available for the latest version (v1.0.0) of this package.

Google Authenticator

v1.0.0 2023-01-25 14:36 UTC

This package is auto-updated.

Last update: 2025-03-25 19:34:57 UTC


README

CONTATO

Example of use:

use Cachesistemas\GoogleAuthenticator;

include_once 'vendor/autoload.php';

$ga  = new GoogleAuthenticator():

create Secret

$secret = $ga->createSecret();

get QRCode Google Url

$qrCode = $ga->getQRCodeGoogleUrl("<email>", $secret,"<NAME>");

verify Code

$check = $ga->verifyCode($secret, "<code>", 2);