PHPackages                             jackchow/rbacshow - 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. jackchow/rbacshow

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

jackchow/rbacshow
=================

the rbac features show in system base on layui2.3 and thinkphp5.1

v1.4(7y ago)3536915[2 issues](https://github.com/jackchow123456/jackchow-rbacshow/issues)MITPHPPHP &gt;=5.6.0

Since Nov 27Pushed 7y ago4 watchersCompare

[ Source](https://github.com/jackchow123456/jackchow-rbacshow)[ Packagist](https://packagist.org/packages/jackchow/rbacshow)[ Docs](https://github.com/jackchow123456/jackchow-rbacshow)[ RSS](/packages/jackchow-rbacshow/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (4)Versions (6)Used By (0)

Rbac 演示后台
=========

[](#rbac-演示后台)

基于ThinkPHP5.1， layui2.3 的Jackchow/rbac权限包的演示后台

### 安装条件：

[](#安装条件)

- php版本 &gt;= 5.6.0

### 安装方法：

[](#安装方法)

> Git 安装

使用命令 `git clone https://github.com/jackchow123456/jackchow-rbacshow`

对了，不要忘了使用 `composer install` 或者 `composer update` 安装对应依赖

> Composer 安装

使用命令 `composer create-project jackchow/rbacshow`

目录结构
----

[](#目录结构)

基本主要的目录结构如下：

```
www  WEB部署目录（或者子目录）
├─application           应用目录
│  ├─common             公共模块目录（可以更改）
│  ├─admin              后台模块目录
│  │  ├─api             后台模块Api接口目录（放置相应的Api请求文件）
│  │  ├─behavior        表现层目录
│  │  ├─controller      控制器目录
│  │  ├─model           模型目录
│  │  ├─service         服务目录
│  │  ├─view            视图目录
│  │  ├─transformers    Api接口装换器目录 （放置相应的Api转换器文件）
│  │  ├─validate        验证类目录
│  │  └─ ...            更多类库目录
│  │
├─route                 路由定义目录
│  ├─route.php          路由定义
│  ├─api.php            api路由定义
│  └─...                更多
├─extend                扩展类库目录（登录类，接口转换器类）

```

运行说明
----

[](#运行说明)

接着上面安装完后 ,并且配置好你到数据库文件。

然后运行命令 `php think migrate:run` 迁移数据文件

然后 `php think seed:run` 填充数据

配置后虚拟主机后 访问 : 该项目虚拟主机名/admin

初始化账号：jack/hurray

初始化密码: 123456

网上demo：

参与开发
----

[](#参与开发)

本项目用到`league/fractal`扩展包 用作Api接口数据输出 [了解一下](http://fractal.thephpleague.com/)。

版权信息
----

[](#版权信息)

ThinkPHP遵循Apache2开源协议发布，并提供免费使用。

本项目包含的第三方源码和二进制文件之版权信息另行标注。

版权所有Copyright © 2006-2018 by ThinkPHP ()

All rights reserved。

ThinkPHP® 商标和著作权所有者为上海顶想信息科技有限公司。

更多细节参阅 [LICENSE.txt](LICENSE.txt)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

5

Last Release

2561d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/65cf574c970acb8b7abb798b49af192e6ea33629b30a5a7edd942672ca4282b9?d=identicon)[jackchow123456](/maintainers/jackchow123456)

---

Top Contributors

[![jackchow123456](https://avatars.githubusercontent.com/u/29397015?v=4)](https://github.com/jackchow123456 "jackchow123456 (16 commits)")

---

Tags

authpermissionrbacthinkphp5

### Embed Badge

![Health badge](/badges/jackchow-rbacshow/health.svg)

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

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

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

This package provides a flexible way to add Role-based Permissions to Laravel. Supports laravel 5|6|7|8

6.0k5.3M60](/packages/zizaco-entrust)[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)[casbin/think-authz

An authorization library that supports access control models like ACL, RBAC, ABAC for ThinkPHP.

27918.5k6](/packages/casbin-think-authz)[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)
