leonis/google-authenticator

Google Authenticator

2.0 2020-06-24 07:27 UTC

This package is auto-updated.

Last update: 2024-11-24 16:56:29 UTC


README

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