PHPackages                             leevel/auth - 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. leevel/auth

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

leevel/auth
===========

The Leevel Auth Package.

v2.0.6(1y ago)02MITPHPPHP &gt;=8.4.1CI failing

Since Nov 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/leevels/auth)[ Packagist](https://packagist.org/packages/leevel/auth)[ Docs](http://queryphp.com)[ RSS](/packages/leevel-auth/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (4)Versions (33)Used By (0)

Auth
====

[](#auth)

[![Latest Stable Version](https://camo.githubusercontent.com/e736c6dfe3bf3bd1b3d1d5f41e8ce8237fc6301f9fc4e9c0159b8fa37833099e/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c656576656c2f617574682e737667)](https://packagist.org/packages/leevel/auth)[![Minimum PHP Version](https://camo.githubusercontent.com/ff973d997d28d971c1cb542bde9469846d215e671126a6dd979036dd84cda600/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e342e312d3838393242462e737667)](https://php.net)[![QueryPHP Doc](https://camo.githubusercontent.com/ea1431167b522b88916c717b0bfe6348328a8662a684bb128f0b0bd6d22a20d5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63732d70617373696e672d677265656e2e7376673f6d61784167653d32353932303030)](https://www.queryphp.com/docs/)

QueryPHP Auth Component.

Install
-------

[](#install)

- composer command

```
composer require leevel/auth
```

Resources
---------

[](#resources)

- [Documentation](https://www.queryphp.com/docs/component/auth.html)
- [Contributing](https://www.queryphp.com/docs/developer/)
- [Report issues](https://github.com/hunzhiwange/framework/issues) and [send Pull Requests](https://github.com/hunzhiwange/framework/pulls)in the [main QueryPHP repository](https://github.com/hunzhiwange/framework)

LICENSE
-------

[](#license)

The Component is open-sourced software licensed under the [MIT license](LICENSE).

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity90

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 100% 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 ~71 days

Recently: every ~168 days

Total

32

Last Release

575d ago

Major Versions

v1.1.53 → v2.0.62024-12-03

PHP version history (8 changes)v1.0.0-alpha.2PHP ^7.1.3

v1.0.0-beta.1PHP ^7.3.2

v1.0.0-rc.3PHP ^7.4.0

v1.0.3PHP ^7.4.0 || ^8.0

v1.1.0-alpha.1PHP ^8.0

v1.1.0-rc.3PHP &gt;=8.1

v1.1.53PHP &gt;=8.3

v2.0.6PHP &gt;=8.4.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24961236?v=4)[魂之挽歌工作室](/maintainers/hunzhiwange)[@hunzhiwange](https://github.com/hunzhiwange)

---

Top Contributors

[![doyouhaobaby](https://avatars.githubusercontent.com/u/2012511?v=4)](https://github.com/doyouhaobaby "doyouhaobaby (120 commits)")

### Embed Badge

![Health badge](/badges/leevel-auth/health.svg)

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

###  Alternatives

[google/auth

Google Auth Library for PHP

1.4k294.2M215](/packages/google-auth)[thenetworg/oauth2-azure

Azure Active Directory OAuth 2.0 Client Provider for The PHP League OAuth2-Client

25310.7M74](/packages/thenetworg-oauth2-azure)[stevenmaguire/oauth2-keycloak

Keycloak OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2306.4M38](/packages/stevenmaguire-oauth2-keycloak)[robsontenorio/laravel-keycloak-guard

🔑 Simple Keycloak Guard for Laravel

5181.2M3](/packages/robsontenorio-laravel-keycloak-guard)[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

123256.9k1](/packages/ellaisys-aws-cognito)[microsoft/kiota-authentication-phpleague

Authentication provider for Kiota using the PHP League OAuth 2.0 client to authenticate against the Microsoft Identity platform

154.1M9](/packages/microsoft-kiota-authentication-phpleague)

PHPackages © 2026

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