PHPackages                             tuyutian/dcat-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. tuyutian/dcat-admin

ActiveLibrary[Admin Panels](/categories/admin)

tuyutian/dcat-admin
===================

dcat admin fork ,Used by oneself

v2.2.5-beta(1y ago)048MITPHPPHP &gt;=8.0

Since Aug 22Pushed 1y agoCompare

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

READMEChangelog (2)Dependencies (8)Versions (3)Used By (0)

 [![](https://camo.githubusercontent.com/d8d80c87e5dc29dbcd58c1a9e40eb616ff7d1b610bfec55d8f629fc9770ad38c/68747470733a2f2f63646e2e6c6561726e6b752e636f6d2f75706c6f6164732f696d616765732f3230323030392f32372f33383338392f574651784a37715a316b2e706e67216c61726765)](https://camo.githubusercontent.com/d8d80c87e5dc29dbcd58c1a9e40eb616ff7d1b610bfec55d8f629fc9770ad38c/68747470733a2f2f63646e2e6c6561726e6b752e636f6d2f75706c6f6164732f696d616765732f3230323030392f32372f33383338392f574651784a37715a316b2e706e67216c61726765)

 因原作者不维护，自用fork

 [ ![Build Status](https://github.com/jqhph/dcat-admin/workflows/Laravel%20Dusk/badge.svg) ](https://github.com/jqhph/dcat-admin/actions) [ ![StyleCI](https://camo.githubusercontent.com/afde1a03c3bb667a4992ee83b74274cebc775d50b9e0379d24726c6c86c02ef7/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3138323334393539372f736869656c64) ](https://styleci.io/repos/182349597) [![](https://camo.githubusercontent.com/7d6416a40c2f8c1be06edd098b7216593eaa1c7553c34ef5a7b43ca05c6eba7d/68747470733a2f2f706f7365722e707567782e6f72672f646361742f6c61726176656c2d61646d696e2f762f737461626c65)](https://packagist.org/packages/dcat/laravel-admin) [![](https://camo.githubusercontent.com/44e43e47cb4c15b0dcb5574659533aea119cbe7542ea6cf1e1d066ee9a2b3c13/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646361742f6c61726176656c2d61646d696e2e7376673f636f6c6f723d)](https://packagist.org/packages/dcat/laravel-admin) [![](https://camo.githubusercontent.com/627cb49d7520b90a8f2aa01fae2d6f0a1b8a7a1a9535d773eb300d0e0b357a47/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d372e312b2d3539613966382e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/627cb49d7520b90a8f2aa01fae2d6f0a1b8a7a1a9535d773eb300d0e0b357a47/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d372e312b2d3539613966382e7376673f7374796c653d666c6174) [![](https://camo.githubusercontent.com/4bcaafd1dd6d90f4ae10c6e041984c30a37f49229319a91da2519ee2bb40dcc5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d352e352b2d3539613966382e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/4bcaafd1dd6d90f4ae10c6e041984c30a37f49229319a91da2519ee2bb40dcc5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d352e352b2d3539613966382e7376673f7374796c653d666c6174)

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

- [官方网站](http://www.dcatadmin.com)
- [中文文档](https://learnku.com/docs/dcat-admin)
- [English documentions](http://www.dcatadmin.com/docs/en-2.x/quick-start.html)
- [Demo / 在线演示](http://103.39.211.179:8080/admin)
- [Demo源码](https://github.com/jqhph/dcat-admin-demo)
- [Demo源码 (码云)](https://gitee.com/jqhph/dcat-admin-demo)
- [扩展](#)

[![](https://camo.githubusercontent.com/324d31926528841dd268a035891d365bfcfa7fdaf4575722fcac88e0fdfd1154/68747470733a2f2f63646e2e6c6561726e6b752e636f6d2f75706c6f6164732f696d616765732f3230323130312f32382f33383338392f594c6d4c37504c7148372e706e67216c61726765)](https://camo.githubusercontent.com/324d31926528841dd268a035891d365bfcfa7fdaf4575722fcac88e0fdfd1154/68747470733a2f2f63646e2e6c6561726e6b752e636f6d2f75706c6f6164732f696d616765732f3230323130312f32382f33383338392f594c6d4c37504c7148372e706e67216c61726765)

### 功能特性

[](#功能特性)

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

### 环境

[](#环境)

- PHP &gt;= 8.0
- Laravel 8.0 ~ 11.\*
- Fileinfo PHP Extension

### 安装

[](#安装)

首先需要安装`laravel`框架，如已安装可以跳过此步骤。如果您是第一次使用`laravel`，请务必先阅读文档 [安装 《Laravel中文文档》](https://learnku.com/docs/laravel/8.x/installation/9354) ！

```
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 dcat/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

24

—

LowBetter than 32% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 91.9% 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 ~0 days

Total

2

Last Release

625d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/edea4a45489a4915332e5d4f6fa5eb342b8acf8feccce9e3211ca027738743b9?d=identicon)[maxotm](/maintainers/maxotm)

---

Top Contributors

[![jqhph](https://avatars.githubusercontent.com/u/20312339?v=4)](https://github.com/jqhph "jqhph (2716 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)")[![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)")[![PorygonCN](https://avatars.githubusercontent.com/u/31176914?v=4)](https://github.com/PorygonCN "PorygonCN (6 commits)")[![xutongle](https://avatars.githubusercontent.com/u/46956076?v=4)](https://github.com/xutongle "xutongle (6 commits)")[![SmallRuralDog](https://avatars.githubusercontent.com/u/5151848?v=4)](https://github.com/SmallRuralDog "SmallRuralDog (5 commits)")[![vagra](https://avatars.githubusercontent.com/u/1576687?v=4)](https://github.com/vagra "vagra (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)")[![flc1125](https://avatars.githubusercontent.com/u/14297703?v=4)](https://github.com/flc1125 "flc1125 (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/tuyutian-dcat-admin/health.svg)

```
[![Health](https://phpackages.com/badges/tuyutian-dcat-admin/health.svg)](https://phpackages.com/packages/tuyutian-dcat-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)
