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

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

bud/auth
========

Jwt minimalist permission control component adapted to the hyperf framework

v3.1.1(1y ago)112MITPHPPHP &gt;=8.1

Since Sep 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/kabudin/auth)[ Packagist](https://packagist.org/packages/bud/auth)[ RSS](/packages/bud-auth/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (4)Used By (0)

auth
====

[](#auth)

> 适配 hyperf 框架的JWT-AUTH权限控制，该组件参考了组件 96qbhy/hyperf-auth 仅保留了jwt算法。更为精简的配置。增加了Permission操作鉴权注解以及Roles角色鉴权注解，token刷新周期内的自动刷新

安装
--

[](#安装)

```
composer require bud/auth
```

发布配置

```
php bin/hyperf.php vendor:publish bud/auth
```

```
