PHPackages                             brooksyang/entrance - 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. brooksyang/entrance

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

brooksyang/entrance
===================

Role-based Permissions for laravel 5.

v2.1.9(8y ago)42532MITJavaScriptPHP &gt;=7.0

Since Aug 28Pushed 7y ago2 watchersCompare

[ Source](https://github.com/BrooksYang/entrance)[ Packagist](https://packagist.org/packages/brooksyang/entrance)[ RSS](/packages/brooksyang-entrance/feed)WikiDiscussions master Synced today

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

介绍
--

[](#介绍)

该项目基于laravel5，提供了一套基于角色的权限解决方案

项目依赖
----

[](#项目依赖)

依赖包版本PHP&gt;=5.5.9Laravel&gt;=5.3predis&gt;=1.1更新日志
----

[](#更新日志)

```
v1.1.0 内置管理员；模块之上添加板块的概念，方便模块分组
```

安装
--

[](#安装)

```
composer require brooksyang/entrance:"^v1.0"
```

配置:
---

[](#配置)

重写配置文件，该命令将生成config/entrance.php配置文件

```
php artisan vendor:publish --tag=entrance
```

修改 .env 文件，将缓存驱动设置为redis（推荐）

```
CACHE_DRIVER=redis
```

生成相关表

```
php artisan entrance:install
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 71.4% 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 ~20 days

Recently: every ~66 days

Total

19

Last Release

2820d ago

Major Versions

v1.0.0 → v2.0.02017-08-28

v1.0.1 → v2.0.12017-09-14

PHP version history (2 changes)v1.0.0PHP &gt;=5.5.9

v2.0.2PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/7ee0e5f72e548ff169a7eca2747b8990e16d43b94d33d2b08af7029049da240c?d=identicon)[BrooksYang](/maintainers/BrooksYang)

---

Top Contributors

[![brooksyang](https://avatars.githubusercontent.com/u/20674504?v=4)](https://github.com/brooksyang "brooksyang (5 commits)")[![chriswangweb](https://avatars.githubusercontent.com/u/10074553?v=4)](https://github.com/chriswangweb "chriswangweb (2 commits)")

### Embed Badge

![Health badge](/badges/brooksyang-entrance/health.svg)

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

###  Alternatives

[lab404/laravel-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users.

2.3k16.4M48](/packages/lab404-laravel-impersonate)[santigarcor/laratrust

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

2.3k5.4M43](/packages/santigarcor-laratrust)[overtrue/laravel-follow

User follow unfollow system for Laravel.

1.2k404.7k5](/packages/overtrue-laravel-follow)

PHPackages © 2026

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