pmdevelopment/google-authenticator-bundle

Google Authenticator for Symfony2

Installs: 6 640

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 718

Open Issues: 2

pkg:composer/pmdevelopment/google-authenticator-bundle

1.2.0 2018-04-17 12:48 UTC

This package is auto-updated.

Last update: 2025-10-12 04:26:28 UTC


README

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.