PHPackages                             randy-tang/rbac - 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. randy-tang/rbac

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

randy-tang/rbac
===============

this is a rbac package

1.0(5y ago)013PHP

Since Jan 26Pushed 5y ago1 watchersCompare

[ Source](https://github.com/RandyTjl/rbac)[ Packagist](https://packagist.org/packages/randy-tang/rbac)[ RSS](/packages/randy-tang-rbac/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

rbac
====

[](#rbac)

\#这是一个基于rbac的权限管理包，包含了数据库设计和初始数据创建

\#目的是为了快速创建数据库和定义初始数据

\#第一步下载包 composer require randy-tang/rbac 1.0（版本标签号）

\#第二步发布包,发布包后会在migrations里面复制数据库文件，在seeds里面也会复制初始数据包 php artisan vendor:publish --provider="Randy\\Rbac\\RbacServiceProvider"

\#第三步 运行php artisan migrate 创建数据库

\#第四步运行 php artisan make:seeder perSeeder 完成数据填充

\#包发现 laravel5.5 一下的需要到config/app.php里面去添加服务提供者和门面 服务提供者 Randy\\Rbac\\RbacServiceProvider::class 门面 'Rbac' =&gt; Randy\\Rbac\\Facades\\Rbac::class,

laravel5.5 以上已经添加了包自动发现不需要在手动添加

\#安装后方法路径 vendor\\randy-tang\\rbac\\src\\Http\\Rbac.php

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

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

Unknown

Total

1

Last Release

1983d ago

### Community

Maintainers

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

---

Top Contributors

[![Tangjiali2023](https://avatars.githubusercontent.com/u/155123797?v=4)](https://github.com/Tangjiali2023 "Tangjiali2023 (20 commits)")

### Embed Badge

![Health badge](/badges/randy-tang-rbac/health.svg)

```
[![Health](https://phpackages.com/badges/randy-tang-rbac/health.svg)](https://phpackages.com/packages/randy-tang-rbac)
```

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.3M17](/packages/kartik-v-yii2-password)[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)

PHPackages © 2026

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