Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.16 KB

README.md

File metadata and controls

27 lines (20 loc) · 1.16 KB

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