Google Authenticator provider for Silex based on PHPGangsta/GoogleAuthenticator
In your composer.json file, just add :
"require": {
"t-keller/google-authenticator-provider": "dev-master"
}
$app->register(new Tkeller\GoogleAuthenticatorProvider\GoogleAuthenticatorProvider());
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