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

ActiveLibrary[Admin Panels](/categories/admin)

tianxinly/dcat-admin
====================

Fork of dcat-admin for tianxinly

v0.1.1(1mo ago)05MITPHPPHP ^8.2

Since Apr 13Pushed 1mo agoCompare

[ Source](https://github.com/tianxinly/dcat-admin)[ Packagist](https://packagist.org/packages/tianxinly/dcat-admin)[ RSS](/packages/tianxinly-dcat-admin/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (9)Versions (3)Used By (0)

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

 [![](https://camo.githubusercontent.com/a48fad364d72356b673d75f9f41f58c2ce4be4c8433e1889c3eaf29a6fb5f9a0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e322b2d3539613966382e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/a48fad364d72356b673d75f9f41f58c2ce4be4c8433e1889c3eaf29a6fb5f9a0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e322b2d3539613966382e7376673f7374796c653d666c6174) [![](https://camo.githubusercontent.com/246cb7e560dba26f83b8d6c44b4d11f238c39e3fc10074bf591c3e298f298ace/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d31322b2d3539613966382e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/246cb7e560dba26f83b8d6c44b4d11f238c39e3fc10074bf591c3e298f298ace/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d31322b2d3539613966382e7376673f7374796c653d666c6174)

`Dcat Admin`是一个基于 Laravel 的后台系统构建工具，只需很少的代码即可快速构建出一个功能完善的后台系统。内置丰富的后台常用组件，开箱即用，让开发者告别冗杂的HTML代码，对后端开发者非常友好。

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

### 功能特性

[](#功能特性)

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

### 环境

[](#环境)

- PHP &gt;= 8.2
- Laravel 12.\*
- Fileinfo PHP Extension

### 安装

[](#安装)

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

```
composer create-project --prefer-dist laravel/laravel 项目名称 12.*
# 或
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_pro
DB_USERNAME=root
DB_PASSWORD=
```

安装`dcat-admin`

```
cd {项目名称}

composer require dcat/dcat-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`登陆。

### 扩展安装

[](#扩展安装)

扩展遵循 Laravel Composer 包规范，安装与启用方式见文档：`docs/extensions.md`。

### 鸣谢

[](#鸣谢)

`Dcat Admin Pro` 基于以下组件:

- [Laravel](https://laravel.com/)
- [Laravel Admin](https://www.laravel-admin.org/)
- [AdminLTE3](https://github.com/ColorlibHQ/AdminLTE)
- [bootstrap](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

35

—

LowBetter than 77% of packages

Maintenance89

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

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

57d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7026249f0e17d7f3f65d42745284836e90c5169ba83ccc30c26828ee1a978e61?d=identicon)[tianxinly](/maintainers/tianxinly)

---

Tags

laravelgridformadminlaravel-admindcatdcat admin

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tianxinly-dcat-admin/health.svg)

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

###  Alternatives

[dcat-plus/laravel-admin

dcat-plus admin

1433.7k9](/packages/dcat-plus-laravel-admin)[printnow/laravel-admin

Dcat admin 永久分叉版 / 支持 Laravel 10-13, PHP 版本限制 &gt;= 8.1（支持 PHP 8.5）

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

PHPackages © 2026

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