PHPackages                             luomor/larke-admin - 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. [Admin Panels](/categories/admin)
4. /
5. luomor/larke-admin

ActiveLibrary[Admin Panels](/categories/admin)

luomor/larke-admin
==================

An admin api library with JWT and RBAC.

1.7.5(1y ago)053Apache-2.0PHPPHP ^8.1

Since Nov 14Pushed 1y agoCompare

[ Source](https://github.com/luomor-web/larke-admin)[ Packagist](https://packagist.org/packages/luomor/larke-admin)[ Docs](https://github.com/luomor-web/larke-admin)[ RSS](/packages/luomor-larke-admin/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (7)Versions (3)Used By (3)

larke-admin
-----------

[](#larke-admin)

larke-admin 是一套使用 Laravel、JWT 和 RBAC 鉴权的通用后台管理系统

### 项目介绍

[](#项目介绍)

- `larke-admin` 是基于 `laravel` 框架的后台管理系统，完全 api 接口化，适用于前后端分离的项目
- 基于 `JWT` 的用户登录态管理
- 权限判断基于 `php-casbin` 的 `RBAC` 授权
- 本项目为 `后台api服务`，`后台前端页面` 可查看 [Larke Admin Frontend](https://github.com/deatil/larke-admin-frontend) 项目

### 环境要求

[](#环境要求)

- PHP &gt;= 8.2
- Laravel &gt;= 11.0
- Fileinfo PHP Extension

### 截图预览

[](#截图预览)

   [![login](https://user-images.githubusercontent.com/24578855/103483910-8cec8780-4e25-11eb-93c5-ea7ce7a09b60.png)](https://user-images.githubusercontent.com/24578855/103483910-8cec8780-4e25-11eb-93c5-ea7ce7a09b60.png)   [![index](https://user-images.githubusercontent.com/24578855/105568367-cacd3380-5d73-11eb-98ab-55701d0068ed.png)](https://user-images.githubusercontent.com/24578855/105568367-cacd3380-5d73-11eb-98ab-55701d0068ed.png)     [![admin](https://user-images.githubusercontent.com/24578855/101988564-6bd8c100-3cd5-11eb-8524-21151ba3b404.png)](https://user-images.githubusercontent.com/24578855/101988564-6bd8c100-3cd5-11eb-8524-21151ba3b404.png)   [![admin-access](https://user-images.githubusercontent.com/24578855/103433753-db393500-4c31-11eb-8d8a-b40dfa0db84e.png)](https://user-images.githubusercontent.com/24578855/103433753-db393500-4c31-11eb-8d8a-b40dfa0db84e.png)     [![attach](https://user-images.githubusercontent.com/24578855/101988566-6da28480-3cd5-11eb-9532-69d88b2f598d.png)](https://user-images.githubusercontent.com/24578855/101988566-6da28480-3cd5-11eb-9532-69d88b2f598d.png)   [![config](https://user-images.githubusercontent.com/24578855/101988567-6e3b1b00-3cd5-11eb-8799-66e8ebec6020.png)](https://user-images.githubusercontent.com/24578855/101988567-6e3b1b00-3cd5-11eb-8799-66e8ebec6020.png)     [![menus](https://user-images.githubusercontent.com/24578855/101988573-71cea200-3cd5-11eb-8e8b-e80ab319b216.png)](https://user-images.githubusercontent.com/24578855/101988573-71cea200-3cd5-11eb-8e8b-e80ab319b216.png)   [![rule2](https://user-images.githubusercontent.com/24578855/102609155-f9992e00-4165-11eb-93ad-82275af134ab.png)](https://user-images.githubusercontent.com/24578855/102609155-f9992e00-4165-11eb-93ad-82275af134ab.png)  更多截图 [Larke Admin 后台截图](https://github.com/deatil/larke-admin/issues/1)

### 安装步骤

[](#安装步骤)

1. 首先安装 `laravel` 框架，并确认连接数据库的配置没有问题，开始执行以下命令

```
composer require lake/larke-admin
```

2. 然后运行下面的命令，推送配置文件

```
php artisan vendor:publish --tag=larke-admin-config
```

运行完命令后

你需要复制 `config/larkeadmin.php.larke` 重命名为 `config/larkeadmin.php`，

复制 `config/larkeauth.php.larke` 重命名为 `config/larkeauth.php`，

复制 `larkeauth-rbac-model.conf.larke` 重命名为 `larkeauth-rbac-model.conf`

如果文件已存在，请根据情况复制内容到对应配置文件

3. 最后运行下面的命令安装完成系统

```
php artisan larke-admin:install
```

4. 你可能第一次安装需要运行以下命令导入路由权限规则

```
php artisan larke-admin:import-route
```

5. 后台登录账号及密码：`admin` / `123456`

### 扩展推荐

[](#扩展推荐)

名称描述[系统通用配置](https://github.com/deatil/larke-configs)自定义数据配置，将配置信息统一到一个表[操作日志](https://github.com/deatil/larke-operation-log)记录 admin 系统的相关操作日志[签名证书](https://github.com/deatil/larke-admin-signcert)生成 RSA, EdDSA, ECDSA 等非对称签名证书[日志查看器](https://github.com/deatil/larke-admin-logviewer)laravel 日志查看扩展[demo](https://github.com/deatil/larke-admin-demo)扩展示例注：扩展目录默认为 `/extension` 目录

### 库推荐

[](#库推荐)

名称描述[JWT国密SM2驱动](https://github.com/deatil/larke-jwt-sm2)larke-admin 后台管理系统 JWT 的 SM2 驱动### 特别鸣谢

[](#特别鸣谢)

感谢以下的项目,排名不分先后

- laravel/framework
- casbin/casbin
- composer/semver
- phpseclib/phpseclib
- PclZip

### 开源协议

[](#开源协议)

- `larke-admin` 遵循 `Apache2` 开源协议发布，在保留本系统版权的情况下提供个人及商业免费使用。

### 版权

[](#版权)

- 该系统所属版权归 deatil() 所有。

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 99.5% 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

543d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8ed32b3e7f1a84b1624cf4587a3b8f722dc9e82bb2af6778d28a975da2942dde?d=identicon)[yiluxiangbei](/maintainers/yiluxiangbei)

---

Top Contributors

[![deatil](https://avatars.githubusercontent.com/u/24578855?v=4)](https://github.com/deatil "deatil (203 commits)")[![zhangchunsheng](https://avatars.githubusercontent.com/u/831839?v=4)](https://github.com/zhangchunsheng "zhangchunsheng (1 commits)")

---

Tags

laraveladminlakelarkelarke-admin

### Embed Badge

![Health badge](/badges/luomor-larke-admin/health.svg)

```
[![Health](https://phpackages.com/badges/luomor-larke-admin/health.svg)](https://phpackages.com/packages/luomor-larke-admin)
```

###  Alternatives

[lake/larke-admin

An admin api library with JWT and RBAC.

3236.8k5](/packages/lake-larke-admin)[conedevelopment/root

Root is an admin package for Laravel applications.

3713.1k2](/packages/conedevelopment-root)[weblabormx/laravel-front

Front is a administration panel for Laravel. It allows you to create CRUD easily in minutes. It allows to fully customize any part of the code.

1111.1k](/packages/weblabormx-laravel-front)[printnow/laravel-admin

Dcat admin 永久分叉版 / 支持 Laravel 12, PHP 版本限制 &gt;= 8.1（支持 PHP 8.4）

432.0k](/packages/printnow-laravel-admin)

PHPackages © 2026

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