PHPackages                             guoliang/upc - 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. guoliang/upc

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

guoliang/upc
============

upc

v1.0(6y ago)040MITPHP

Since Aug 16Pushed 6y agoCompare

[ Source](https://github.com/DarkToLight/upc)[ Packagist](https://packagist.org/packages/guoliang/upc)[ RSS](/packages/guoliang-upc/feed)WikiDiscussions master Synced 2d ago

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

upc
===

[](#upc)

Universal Privilege Control

实现角色互斥
======

[](#实现角色互斥)

权限管理
====

[](#权限管理)

角色管理
====

[](#角色管理)

受限继承
====

[](#受限继承)

角色正反向授权
=======

[](#角色正反向授权)

用户权限判断
======

[](#用户权限判断)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity58

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

2463d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1d0ce73325e4cd62b7ba088759a0c104b2c289a646596eea10293776ce1b5502?d=identicon)[guoliang](/maintainers/guoliang)

---

Tags

rbac

### Embed Badge

![Health badge](/badges/guoliang-upc/health.svg)

```
[![Health](https://phpackages.com/badges/guoliang-upc/health.svg)](https://phpackages.com/packages/guoliang-upc)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k89.8M1.0k](/packages/spatie-laravel-permission)[santigarcor/laratrust

This package provides a flexible way to add Role-based Permissions to Laravel

2.3k5.4M43](/packages/santigarcor-laratrust)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[casbin/casbin

a powerful and efficient open-source access control library for php projects.

1.3k1.4M54](/packages/casbin-casbin)[owasp/phprbac

PHP-RBAC is the de-facto authorization library for PHP. It provides developers with NIST Level 2 Standard Role Based Access Control and more, in the fastest implementation yet.

435981.3k4](/packages/owasp-phprbac)[casbin/laravel-authz

An authorization library that supports access control models like ACL, RBAC, ABAC in Laravel.

324339.9k4](/packages/casbin-laravel-authz)

PHPackages © 2026

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