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

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

shoudian/auth
=============

基于phalapi2的auth扩展

012PHP

Since Apr 28Pushed 8y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

基于Phalapi2的Auth扩展
=================

[](#基于phalapi2的auth扩展)

描述
--

[](#描述)

基于Phalapi2的Auth扩展

附上:

项目GitHub地址:[https://github.com/shoudian/auth.git](https://github.com/shoudian/auth.git "项目Git地址")

安装PhalApi2-Auth
---------------

[](#安装phalapi2-auth)

在项目的composer.json文件中，添加：

```
{
    "require": {
        "shoudian/auth": "dev-master"
    }
}

```

配置好后，执行composer update更新操作即可。

使用方法
----

[](#使用方法)

具体信息可浏览Phalapi的文档：[Auth权限扩展使用文档](https://gitee.com/dogstar/PhalApi-Library/wikis/Auth-%E6%9D%83%E9%99%90%E6%89%A9%E5%B1%95%E4%BD%BF%E7%94%A8%E6%96%87%E6%A1%A3 "Auth权限扩展使用文档")

**如果大家有更好的建议可以私聊或加入到PhalApi大家庭中前来一同维护PhalApi****注:笔者能力有限有说的不对的地方希望大家能够指出,也希望多多交流!**

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9349b61de6028b7b2029e3eee3f279dd53c2d35b382b1d6a72cca32a593df1a6?d=identicon)[shoudian](/maintainers/shoudian)

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/shoudian-auth/health.svg)](https://phpackages.com/packages/shoudian-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)
