🚀 Lion-Authentication Library to authenticate users with the 2FA method.
✔️ Generate security codes.
✔️ Generate QR codes.
Install the authentication using Composer:
composer require lion/authentication pragmarx/google2fa-qrcode bacon/bacon-qr-code
use Lion\Authentication\Auth2FA;
$auth2fa = new Auth2FA();
$qr = $auth2fa->qr('company_name', 'company_email', 200); // default size of 400
The authentication is open-sourced software licensed under the MIT License.