leonis / google-authenticator
Google Authenticator
2.0
2020-06-24 07:27 UTC
Requires (Dev)
- phpunit/phpunit: ~6.0
This package is auto-updated.
Last update: 2024-11-24 16:56:29 UTC
README
google-authenticator
Google Authenticator Forked from PHPGangsta/GoogleAuthenticator
Installation
composer require leonis/google-authenticator
Usage
use \Leonis\GoogleAuthenticator\GoogleAuthenticator; $secret = GoogleAuthenticator::secret(); $code = GoogleAuthenticator::code($secret); $result = GoogleAuthenticator::verify($secret,$code);
License
MIT