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

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

yuzhibiao/think-auth
====================

Auth package for thinkphp5

1.0.0(7y ago)07Apache-2.0PHPPHP &gt;=5.6.0

Since Apr 29Pushed 7y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (2)Used By (0)

think-auth
==========

[](#think-auth)

thinkphp5.1 权限认证类库

安装
--

[](#安装)

> composer require topthink/think-captcha:dev-master

\##使用

1. 拷贝当前类库下database/migrations的所有文件到项目根目录的database/migrations中
2. 在命令行下，切换到项目根目录，执行命令导入表结构 `php think migrate:run`
3. 在项目中使用类库 `$auth = yuzhibiao\auth::instance();`

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

2618d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12522698?v=4)[yuzhibiao](/maintainers/yuzhibiao)[@yuzhibiao](https://github.com/yuzhibiao)

### Embed Badge

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

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

###  Alternatives

[zoujingli/think-library

Library for ThinkAdmin

8372.1k20](/packages/zoujingli-think-library)[casbin/think-authz

An authorization library that supports access control models like ACL, RBAC, ABAC for ThinkPHP.

27520.1k6](/packages/casbin-think-authz)[thans/tp-jwt-auth

thinkphp jwt auth composer

14592.3k6](/packages/thans-tp-jwt-auth)

PHPackages © 2026

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