PHPackages                             krvipsoft/laravel-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. krvipsoft/laravel-admin

ActiveLibrary[Admin Panels](/categories/admin)

krvipsoft/laravel-admin
=======================

dcat admin

v2.1.0(10mo ago)06MITPHPPHP &gt;=7.1.0CI failing

Since Mar 4Pushed 10mo agoCompare

[ Source](https://github.com/krvipsoft/dcat-admin)[ Packagist](https://packagist.org/packages/krvipsoft/laravel-admin)[ Docs](https://github.com/jqhph/dcat-admin)[ RSS](/packages/krvipsoft-laravel-admin/feed)WikiDiscussions 2.0 Synced 1mo ago

READMEChangelog (1)Dependencies (9)Versions (52)Used By (0)

`Dcat Admin`是一个基于[laravel-admin](https://www.laravel-admin.org/)二次开发而成的后台系统构建工具，只需很少的代码即可快速构建出一个功能完善的高颜值后台系统。内置丰富的后台常用组件，开箱即用，让开发者告别冗杂的HTML代码，对后端开发者非常友好。

### 功能特性

[](#功能特性)

- 简洁优雅、灵活可扩展的API
- 用户管理
- RBAC权限管理，支持无限极权限节点
- 菜单管理
- 使用pjax构建无刷新页面，支持**按需加载**静态资源，可以无限扩展组件而不影响整体性能
- 松耦合的页面构建与数据操作设计，可轻松切换数据源
- 自定义页面
- 自定义主题配色
- 多主题切换功能，内置多种主题色
- 可轻松构建无菜单栏的独立页面（如可用于构建弹窗选择器等功能）
- 插件功能
- 可视化代码生成器，可根据数据表一键生成增删改查页面
- 数据表格构建工具，内置丰富的表格常用功能（如组合表头、数据导出、搜索、快捷创建、批量操作等）
- 树状表格功能构建工具，支持分页和点击加载
- 数据表单构建工具，内置丰富的表单类型，支持表单异步提交
- 分步表单构建工具
- 弹窗表单构建工具
- 数据详情页构建工具
- 无限层级树状页面构建工具，支持用拖拽的方式实现数据的层级、排序等操作
- 内置丰富的常用页面组件（如图表、数据统计卡片、下拉菜单、Tab卡片、提示工具等）
- `Section`功能（类似`Wordpress`的`Filter`和`blade`模板的`section`标签）
- 异步文件上传表单，支持分块多线程上传
- 多应用
- 插件市场，只需在管理页面轻轻点击鼠标即可完成插件的安装、更新和卸载等操作

### 环境

[](#环境)

- PHP &gt;= 7.1.0
- Laravel 5.5.0 ~ 12.\*
- Fileinfo PHP Extension

### 安装

[](#安装)

```
composer create-project --prefer-dist laravel/laravel 项目名称 9.*
# 或
composer create-project --prefer-dist laravel/laravel 项目名称
```

安装完`laravel`之后需要修改`.env`文件，设置数据库连接设置正确

```
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=dcat-admin
DB_USERNAME=root
DB_PASSWORD=
```

安装`dcat-admin`

```
cd {项目名称}

composer require krvipsoft/laravel-admin

```

然后运行下面的命令来发布资源：

```
php artisan admin:publish

```

在该命令会生成配置文件`config/admin.php`，可以在里面修改安装的地址、数据库连接、以及表名，建议都是用默认配置不修改。

然后运行下面的命令完成安装：

> 执行这一步命令可能会报以下错误`Specified key was too long ... 767 bytes`，如果出现这个报错，请在`app/Providers/AppServiceProvider.php`文件的`boot`方法中加上代码`\Schema::defaultStringLength(191);`，然后删除掉数据库中的所有数据表，再重新运行一遍`php artisan admin:install`命令即可。

```
php artisan admin:install

```

上述步骤操作完成之后就可以配置`web`服务了，**注意需要把`web`目录指向`public`目录**！如果用的是`nginx`，还需要在配置中加上伪静态配置

```
location / {
	try_files $uri $uri/ /index.php?$query_string;
}
```

启动服务后，在浏览器打开 `http://localhost/admin`，使用用户名 `admin` 和密码 `admin`登陆。

### 扩展

[](#扩展)

扩展描述dcat-admin 版本[mosiboom/dcat-iframe-tab](https://github.com/mosiboom/dcat-iframe-tab)IFRAME TAB标签切换2.x[super-eggs/dcat-distpicker](https://github.com/super-eggs/dcat-distpicker)省市区联动2.x[ueditor](https://github.com/jqhph/dcat-admin-ueditor)百度在线编辑器1.x[grid-sortable](https://github.com/jqhph/dcat-admin-grid-sortable)表格拖曳排序工具1.x### 鸣谢

[](#鸣谢)

`Dcat Admin` 基于以下组件:

- [Laravel](https://laravel.com/)
- [Laravel Admin](https://www.laravel-admin.org/)
- [AdminLTE3](https://github.com/ColorlibHQ/AdminLTE)
- [bootstrap4](https://getbootstrap.com/)
- [jQuery3](https://jquery.com/)
- [Eonasdan Datetimepicker](https://github.com/Eonasdan/bootstrap-datetimepicker/)
- [font-awesome](http://fontawesome.io)
- [jquery-form](https://github.com/jquery-form/form)
- [moment](http://momentjs.com/)
- [webuploader](http://fex.baidu.com/webuploader/)
- [jquery-pjax](https://github.com/defunkt/jquery-pjax)
- [Nestable](http://dbushell.github.io/Nestable/)
- [toastr](http://codeseven.github.io/toastr/)
- [editor-md](https://github.com/pandao/editor.md)
- [fontawesome-iconpicker](https://github.com/itsjavi/fontawesome-iconpicker)
- [layer弹出层](http://layer.layui.com/)
- [char.js](https://www.chartjs.org)
- [nprogress](https://ricostacruz.com/nprogress/)
- [bootstrap-validator](https://github.com/1000hz/bootstrap-validator)
- [Google map](https://www.google.com/maps)
- [Tencent map](http://lbs.qq.com/)

### License

[](#license)

---

`dcat-admin` is licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

37

—

LowBetter than 82% of packages

Maintenance55

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 91.7% 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 ~39 days

Recently: every ~0 days

Total

50

Last Release

326d ago

Major Versions

0.9.0 → 1.0.02020-04-16

1.7.4 → 2.0.0-beta2020-10-19

1.7.6 → 2.0.2-beta2020-10-21

1.7.7 → 2.0.5-beta2020-10-29

1.7.8 → v2.02025-06-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/27a4d16890026d5670edeec63324d8f6739700e35a631ef7d15ae277c4752fc1?d=identicon)[krvipsoft](/maintainers/krvipsoft)

---

Top Contributors

[![jqhph](https://avatars.githubusercontent.com/u/20312339?v=4)](https://github.com/jqhph "jqhph (2717 commits)")[![laradocs](https://avatars.githubusercontent.com/u/49741756?v=4)](https://github.com/laradocs "laradocs (44 commits)")[![edwinhuish](https://avatars.githubusercontent.com/u/5207925?v=4)](https://github.com/edwinhuish "edwinhuish (32 commits)")[![youyingxiang](https://avatars.githubusercontent.com/u/28653285?v=4)](https://github.com/youyingxiang "youyingxiang (28 commits)")[![shacky](https://avatars.githubusercontent.com/u/6030720?v=4)](https://github.com/shacky "shacky (20 commits)")[![PorygonCN](https://avatars.githubusercontent.com/u/31176914?v=4)](https://github.com/PorygonCN "PorygonCN (9 commits)")[![lilashih](https://avatars.githubusercontent.com/u/55920306?v=4)](https://github.com/lilashih "lilashih (9 commits)")[![pianzhou2021](https://avatars.githubusercontent.com/u/97172071?v=4)](https://github.com/pianzhou2021 "pianzhou2021 (9 commits)")[![Abbotton](https://avatars.githubusercontent.com/u/16308633?v=4)](https://github.com/Abbotton "Abbotton (8 commits)")[![ybid](https://avatars.githubusercontent.com/u/11883973?v=4)](https://github.com/ybid "ybid (7 commits)")[![nivin-studio](https://avatars.githubusercontent.com/u/53897000?v=4)](https://github.com/nivin-studio "nivin-studio (6 commits)")[![celaraze](https://avatars.githubusercontent.com/u/31471452?v=4)](https://github.com/celaraze "celaraze (6 commits)")[![ihipop](https://avatars.githubusercontent.com/u/423077?v=4)](https://github.com/ihipop "ihipop (6 commits)")[![xutongle](https://avatars.githubusercontent.com/u/46956076?v=4)](https://github.com/xutongle "xutongle (6 commits)")[![vagra](https://avatars.githubusercontent.com/u/1576687?v=4)](https://github.com/vagra "vagra (5 commits)")[![SmallRuralDog](https://avatars.githubusercontent.com/u/5151848?v=4)](https://github.com/SmallRuralDog "SmallRuralDog (5 commits)")[![krvipsoft](https://avatars.githubusercontent.com/u/42866392?v=4)](https://github.com/krvipsoft "krvipsoft (5 commits)")[![Gelaku](https://avatars.githubusercontent.com/u/18202049?v=4)](https://github.com/Gelaku "Gelaku (4 commits)")[![puzzle9](https://avatars.githubusercontent.com/u/13518196?v=4)](https://github.com/puzzle9 "puzzle9 (3 commits)")[![Sparkinzy](https://avatars.githubusercontent.com/u/8643392?v=4)](https://github.com/Sparkinzy "Sparkinzy (3 commits)")

---

Tags

laravelgridformadminlaravel-admindcat

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/krvipsoft-laravel-admin/health.svg)

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

###  Alternatives

[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)
