t-keller/google-authenticator-provider

There is no license information available for the latest version (dev-master) of this package.

Google Authenticator provider for Silex based on PHPGangsta/GoogleAuthenticator

dev-master 2014-06-20 05:27 UTC

This package is not auto-updated.

Last update: 2024-04-23 00:48:07 UTC


README

Google Authenticator provider for Silex based on PHPGangsta/GoogleAuthenticator

Install (with Composer)

In your composer.json file, just add :

"require": {
  "t-keller/google-authenticator-provider": "dev-master"
}

Register the provider in Silex

$app->register(new Tkeller\GoogleAuthenticatorProvider\GoogleAuthenticatorProvider());

Use it

A GoogleAuthenticator object is available by calling:

$app['google_authenticator']

For more information about PHPGangsta/GoogleAuthenticator, see the documentation (https://github.com/PHPGangsta/GoogleAuthenticator)

Silex website: http://silex.sensiolabs.org