cachesistemas / google-authenticator
Google Authenticator
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/cachesistemas/google-authenticator
This package is auto-updated.
Last update: 2025-09-25 20:40:31 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);