t-keller / google-authenticator-provider
Google Authenticator provider for Silex based on PHPGangsta/GoogleAuthenticator
Installs: 1 740
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 0
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