PHPackages                             zheng-ze-hui/think-zauth - 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. zheng-ze-hui/think-zauth

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

zheng-ze-hui/think-zauth
========================

An authorization library for Thinkphp6

017PHP

Since Dec 12Pushed 6y ago1 watchersCompare

[ Source](https://github.com/zheng-ze-hui/think-zauth)[ Packagist](https://packagist.org/packages/zheng-ze-hui/think-zauth)[ RSS](/packages/zheng-ze-hui-think-zauth/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

think-zauth
===========

[](#think-zauth)

think-zauth 是一个专为 ThinkPHP6.0 打造的权限控制库。

安装
--

[](#安装)

> composer require zheng-ze-hui/think-zauth

> composer require zheng-ze-hui/think-zauth @dev (开发阶段使用该方式安装)

> composer update zheng-ze-hui/think-zauth @dev

发布配置文件和数据库迁移文件
--------------

[](#发布配置文件和数据库迁移文件)

> php think zauth:publish

执行迁移工具
------

[](#执行迁移工具)

> php think migrate:run //此时数据库便创建了prefix\_rules表.

卸载
--

[](#卸载)

> composer remove zheng-ze-hui/think-zauth

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

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/5d3edf50a12a8cee47446913bad0aac0a190f339685c50ba621d11b70893b4c9?d=identicon)[zheng-ze-hui](/maintainers/zheng-ze-hui)

---

Top Contributors

[![zheng-ze-hui](https://avatars.githubusercontent.com/u/58506733?v=4)](https://github.com/zheng-ze-hui "zheng-ze-hui (24 commits)")

### Embed Badge

![Health badge](/badges/zheng-ze-hui-think-zauth/health.svg)

```
[![Health](https://phpackages.com/badges/zheng-ze-hui-think-zauth/health.svg)](https://phpackages.com/packages/zheng-ze-hui-think-zauth)
```

###  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)
