PHPackages                             lion/authentication - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. lion/authentication

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

lion/authentication
===================

Library to add 2FA security.

v6.0.1(1mo ago)1723MITPHP &gt;=8.5

Since Mar 3Compare

[ Source](https://github.com/Lion-Packages/authentication)[ Packagist](https://packagist.org/packages/lion/authentication)[ Docs](https://dev.lion-packages.com)[ RSS](/packages/lion-authentication/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (16)Versions (30)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/Lion-Packages/authentication).

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance92

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 71.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~47 days

Recently: every ~31 days

Total

25

Last Release

40d ago

Major Versions

v1.0.0 → 2.x-dev2023-12-16

v2.0.0 → v3.0.02024-01-21

v3.1.0 → v4.0.02024-07-06

4.x-dev → v5.0.02024-12-01

5.x-dev → v6.0.02025-12-23

PHP version history (4 changes)1.x-devPHP &gt;=8.1

2.x-devPHP &gt;=8.2

v5.0.0PHP &gt;=8.4

v6.0.0PHP &gt;=8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/1419758fcb0259274d35f6d2cbfb5a60694baa74e99437d32dfec9a0d5c10d65?d=identicon)[lion-packages](/maintainers/lion-packages)

---

Top Contributors

[![Sleon4](https://avatars.githubusercontent.com/u/56183278?v=4)](https://github.com/Sleon4 "Sleon4 (94 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (16 commits)")[![GabrielPalac](https://avatars.githubusercontent.com/u/162063476?v=4)](https://github.com/GabrielPalac "GabrielPalac (8 commits)")[![mcesmeralda](https://avatars.githubusercontent.com/u/96641807?v=4)](https://github.com/mcesmeralda "mcesmeralda (6 commits)")[![LeinadAlberto](https://avatars.githubusercontent.com/u/127895160?v=4)](https://github.com/LeinadAlberto "LeinadAlberto (5 commits)")[![MMarioLP](https://avatars.githubusercontent.com/u/105904645?v=4)](https://github.com/MMarioLP "MMarioLP (2 commits)")

---

Tags

Authenticationlionlion-authentication

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/lion-authentication/health.svg)

```
[![Health](https://phpackages.com/badges/lion-authentication/health.svg)](https://phpackages.com/packages/lion-authentication)
```

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.5k49.1M350](/packages/tymon-jwt-auth)[league/oauth2-server

A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.

6.6k136.0M248](/packages/league-oauth2-server)[league/oauth2-client

OAuth 2.0 Client Library

3.8k118.6M1.2k](/packages/league-oauth2-client)[google/auth

Google Auth Library for PHP

1.4k272.7M162](/packages/google-auth)[pragmarx/google2fa

A One Time Password Authentication package, compatible with Google Authenticator.

2.0k82.4M164](/packages/pragmarx-google2fa)[paragonie/sodium_compat

Pure PHP implementation of libsodium; uses the PHP extension if it exists

934131.6M155](/packages/paragonie-sodium-compat)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
