Skip to content

yl/google-authenticator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StyleCI Build Status Latest Stable Version Total Downloads License

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