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

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

mix/auth
========

JWT authorization library based on PSR-7 standard

v2.2.14(5y ago)16.2k12Apache-2.0PHPPHP &gt;=7.0.0CI failing

Since Feb 19Pushed 5y ago1 watchersCompare

[ Source](https://github.com/mix-php/auth)[ Packagist](https://packagist.org/packages/mix/auth)[ Docs](https://openmix.org/)[ RSS](/packages/mix-auth/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (3)Versions (16)Used By (2)

Mix Auth
--------

[](#mix-auth)

基于 PSR-7 标准的 JWT 授权库

Usage
-----

[](#usage)

安装：

```
composer require mix/auth

```

文档：

-

License
-------

[](#license)

Apache License Version 2.0,

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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 ~41 days

Recently: every ~60 days

Total

15

Last Release

2070d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16074765?v=4)[LIU JIAN](/maintainers/onanying)[@onanying](https://github.com/onanying)

---

Top Contributors

[![onanying](https://avatars.githubusercontent.com/u/16074765?v=4)](https://github.com/onanying "onanying (7 commits)")

---

Tags

authmixpsrjwtauthmix

### Embed Badge

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

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

###  Alternatives

[generationtux/jwt-artisan

JWT auth package for Laravel and Lumen

13953.1k](/packages/generationtux-jwt-artisan)[jimtools/jwt-auth

PSR-15 JWT Authentication middleware, A replacement for tuupola/slim-jwt-auth

20142.3k3](/packages/jimtools-jwt-auth)[swoft/auth

Auth component for swoft

127.2k1](/packages/swoft-auth)

PHPackages © 2026

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