PHPackages                             ricoa/laravel-auth - 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. ricoa/laravel-auth

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

ricoa/laravel-auth
==================

一个基于 Laravel5 的后台权限、菜单管理解决方案

v2.0.3(7y ago)2542MITHTMLPHP &gt;=5.4.0

Since Sep 17Pushed 7y ago1 watchersCompare

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

READMEChangelog (10)Dependencies (5)Versions (17)Used By (0)

laravel-auth

一个基于Laravel的后台权限、菜单管理解决方案.

描述
--

[](#描述)

本系统集laravel的后台权限管理和菜单管理于一体，使得开发者不用过多关注权限和菜单如何处理，可以花更多时间去考虑如何更好完成项目。

本系统使用[Zizaco/entrust](https://github.com/Zizaco/entrust)做为权限的基础，请先阅读相关文档，理解其中的概念。

安装
--

[](#安装)

```
//安装开发中版本
composer require ricoa/laravel-auth:dev-master

```

配置
--

[](#配置)

1、注册 ServiceProvider:

```
\Ricoa\Auth\MenusServiceProvider::class,

```

2、创建配置文件

```
php artisan vendor:publish

```

3、修改config/menus.php的对应信息

4、添加数据 在database/seeds/DatabaseSeeder.php里添加

```
$this->call(RicoaUsersSeeder::class);

```

此时会生成

- 超级管理员角色

```
[
	'name'=> 'super',
	'display_name'=> '超级管理员',
	'description'=> '系统超级管理员',
]

```

- 用户,角色是超级管理员

```
[
	'email'=>"1@qq.com",
	'name'=>'超级管理员',
	'password'=>'1',
]

```

- 基础权限

使用
--

[](#使用)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~133 days

Total

16

Last Release

2842d ago

Major Versions

v0.0.2 → v1.0.02016-09-18

v1.4.0 → v2.0.02017-02-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/880ecdf5f11966865b34c9888a21295ff7fee0982db867de2340c082140e46a6?d=identicon)[ricoa](/maintainers/ricoa)

---

Top Contributors

[![linkerwei](https://avatars.githubusercontent.com/u/26617676?v=4)](https://github.com/linkerwei "linkerwei (2 commits)")[![ricoa](https://avatars.githubusercontent.com/u/11365312?v=4)](https://github.com/ricoa "ricoa (2 commits)")[![remxcode](https://avatars.githubusercontent.com/u/3363540?v=4)](https://github.com/remxcode "remxcode (1 commits)")

---

Tags

authlaravellaravel-packagemenularavelmenupermission

### Embed Badge

![Health badge](/badges/ricoa-laravel-auth/health.svg)

```
[![Health](https://phpackages.com/badges/ricoa-laravel-auth/health.svg)](https://phpackages.com/packages/ricoa-laravel-auth)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

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

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

324339.9k4](/packages/casbin-laravel-authz)[acoustep/entrust-gui

A GUI for the Entrust package.

11425.7k](/packages/acoustep-entrust-gui)[codebot/entrust

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

1596.6k](/packages/codebot-entrust)[sourceboat/laravel-static-permission

Define laravel permissions and roles by code

1018.0k](/packages/sourceboat-laravel-static-permission)

PHPackages © 2026

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