PHPackages                             hyperf-plus/permission - 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. [Admin Panels](/categories/admin)
4. /
5. hyperf-plus/permission

ActiveLibrary[Admin Panels](/categories/admin)

hyperf-plus/permission
======================

hyperf-plus-admin可选的权限插件,也可以用自己的permission组件

v1.0.4(5y ago)15.6k↑353.3%MITPHPPHP &gt;=7.3

Since Sep 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/hyperf-plus/permission)[ Packagist](https://packagist.org/packages/hyperf-plus/permission)[ Docs](https://github.com/hyperf-plus/permission)[ RSS](/packages/hyperf-plus-permission/feed)WikiDiscussions master Synced yesterday

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

permission
==========

[](#permission)

hyperf-plus-admin可选的权限插件,也可以用自己的permission组件

#### 安装成功后，只需添加PermissionMiddleware中间件即可

[](#安装成功后只需添加permissionmiddleware中间件即可)

#### 此插件支持注解路由插件 [hyperf-plus-route](https://github.com/hyperf-plus/route/)插件的注解参数

[](#此插件支持注解路由插件-hyperf-plus-route插件的注解参数)

#### 如：控制器注解：ApiController

[](#如控制器注解apicontroller)

#### 方法注解：GetApi PostApi PutApi DeleteApi （方法上配置级别优先于控制器配置）

[](#方法注解getapi--postapi-putapi-deleteapi-方法上配置级别优先于控制器配置)

- 1、userOpen 对用户开放url中的验证，
- 2、security 为true必须验证权限 false公共开放资源

#### 路由注解只在启动第一次时扫描并缓存，后续请求不会再做解析，提高性能

[](#路由注解只在启动第一次时扫描并缓存后续请求不会再做解析提高性能)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Total

4

Last Release

2002d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6064d6ea21c78c19ac11c7918d833822adf51797f1920b2c1b45968795a71074?d=identicon)[lphkxd](/maintainers/lphkxd)

---

Top Contributors

[![lphkxd](https://avatars.githubusercontent.com/u/16346895?v=4)](https://github.com/lphkxd "lphkxd (23 commits)")

---

Tags

permissionadminvuehyperf

### Embed Badge

![Health badge](/badges/hyperf-plus-permission/health.svg)

```
[![Health](https://phpackages.com/badges/hyperf-plus-permission/health.svg)](https://phpackages.com/packages/hyperf-plus-permission)
```

###  Alternatives

[hyperf-plus/admin

开箱即用的Hyperf后台扩展，amis最强后台管理系统

2897.7k](/packages/hyperf-plus-admin)[mineadmin/mineadmin

Quickly build a background management system for web applications

1.2k2.2k](/packages/mineadmin-mineadmin)[moell/mojito

Mojito admin is a component of laravel, vue, element build backend system.

49711.1k](/packages/moell-mojito)[smallruraldog/laravel-vue-admin

开箱即用的Laravel后台扩展

4032.9k](/packages/smallruraldog-laravel-vue-admin)[hyperf-plus/ui

hyperf UI 插件，用php代码写amis组件神器

198.0k2](/packages/hyperf-plus-ui)

PHPackages © 2026

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