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

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

sugger/think-auth
=================

thinkphp权限拓展

04PHP

Since Feb 17Pushed 7y ago1 watchersCompare

[ Source](https://github.com/sugger/think-auth)[ Packagist](https://packagist.org/packages/sugger/think-auth)[ RSS](/packages/sugger-think-auth/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

think-queue
===========

[](#think-queue)

安装
--

[](#安装)

> composer require sugger/think-auth

配置
--

[](#配置)

> 配置文件位于 `application/extra/auth.php`

### 公共配置

[](#公共配置)

```
[

]

```

使用 Database
-----------

[](#使用-database)

> 创建如下数据表

```

```

> 程序

```
写一个 添加/删除 数据路由对应关系的Command

```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/bf42a3e140b3c432765bfd78ddc4074c93bc12bb4179bfd1ecc66cade6825d6b?d=identicon)[sugger](/maintainers/sugger)

---

Top Contributors

[![sugger](https://avatars.githubusercontent.com/u/16029469?v=4)](https://github.com/sugger "sugger (6 commits)")

### Embed Badge

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

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

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

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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