PHP Package: scheb/2fa-google-authenticator
2FA Google Authenticator library for secure two-factor authentication in PHP applications.
Package Description
Implement two-factor authentication using Google Authenticator in PHP for enhanced security. This library provides easy integration and secure verification methods within your applications. Enhance your user authentication process and protect user accounts effectively with this PHP library.
Download Latest Version: 7.11.0

Previous Versions
Code Integration Example
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/scheb/2fa-google-authenticator/7.11.0/loader.php';
require_once 'libs/google/apiclient/{lib_version}/loader.php';
require_once 'libs/endroid/qr-code/5.0.7/loader.php';
use Scheb\TwoFactorBundle\Security\TwoFactor\Provider\GoogleAuthenticatorProvider;
$obj = new GoogleAuthenticatorProvider();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.