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

ActiveLibrary

yangtao/thinkphp6-auth
======================

thinkphp6 auth权限核心文件

2.1(3y ago)017Apache-2.0PHP

Since Sep 30Pushed 3y ago1 watchersCompare

[ Source](https://github.com/yangtaolo/thinkphp6_auth)[ Packagist](https://packagist.org/packages/yangtao/thinkphp6-auth)[ RSS](/packages/yangtao-thinkphp6-auth/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

thinkphp6-auth
==============

[](#thinkphp6-auth)

基于thinkphp5.1 auth权限修改 Auth 封装的读取当前url和当前数据库url进行匹配 版本更新====》2.0 更新时间2022/09/30 欢迎使用《玫瑰工作室》

继承代码

$auth = new \\yangtao\\auth\\Auth();

$rule\_name = app('http')-&gt;getName() . '/' . $request-&gt;controller() . '/' . lcfirst($request-&gt;action());

$result = $auth-&gt;check($rule\_name, 1);

if (!$result) {

$this-&gt;error('没有权限',url('admin/index/index'));

}

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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

Total

2

Last Release

1326d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/81fc24a4628707a2642f467639b2aaed9c34673b5e692a9bad76fd9f3828e707?d=identicon)[yangtaolo](/maintainers/yangtaolo)

---

Top Contributors

[![yangtaolo](https://avatars.githubusercontent.com/u/55073724?v=4)](https://github.com/yangtaolo "yangtaolo (3 commits)")

### Embed Badge

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

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

PHPackages © 2026

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