Skip to content

pmdevelopment/google-authenticator-bundle

 
 

Repository files navigation

Google Authenticator Symfony2 Bundle

Original: PHPGangsta/GoogleAuthenticator

Forked for Usage as Symfony2 Bundle and composer

Install

Add to composer:

  "pmdevelopment/google-authenticator-bundle": "dev-master"

Add to kernel:

  new PM\Bundle\GoogleAuthenticatorBundle\PMGoogleAuthenticatorBundle(),

Usage

         /* @var $ga GoogleAuthenticatorService */
        $ga = $this->get("pm.googleauthenticator");

For Examples see [example/example1.php]. As additional function use getQrCode() to get the Image.

About

PHP class to generate and verify Google Authenticator 2-factor authentication

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%