lion/authentication

Library to add 2FA security.

Installs: 706

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

pkg:composer/lion/authentication

v6.0.0 2025-12-23 21:21 UTC

README

presentation-lion-packages

Latest Stable Version Total Downloads License PHP Version Require

🚀 Lion-Authentication Library to authenticate users with the 2FA method.

📖 Features

✔️ Generate security codes.
✔️ Generate QR codes.

📦 Installation

Install the authentication using Composer:

composer require lion/authentication pragmarx/google2fa-qrcode bacon/bacon-qr-code

Usage Example

use Lion\Authentication\Auth2FA;

$auth2fa = new Auth2FA();

$qr = $auth2fa->qr('company_name', 'company_email', 200); // default size of 400

📝 License

The authentication is open-sourced software licensed under the MIT License.