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

ActiveLibrary[Admin Panels](/categories/admin)

zhaoyue/dcat-admin
==================

修改了创建用户逻辑

2.0.x-dev(3y ago)02PHP

Since Dec 13Pushed 3y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

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

 [ ![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;= 7.1.0
- Laravel 5.5.0 ~ 9.\*
- Fileinfo PHP Extension

### 安装

[](#安装)

> 如果安装过程中出现`composer`下载过慢或安装失败的情况，请运行命令`composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/`把`composer`镜像更换为阿里云镜像。

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

```
composer create-project --prefer-dist laravel/laravel 项目名称 7.*
# 或
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/)

### Contributors

[](#contributors)

#### Code Contributors

[](#code-contributors)

This project exists thanks to all the people who contribute. \[[Contribute](CONTRIBUTING.md)\]. [![](https://camo.githubusercontent.com/dda10e322c3e0e647d9953da9479799044d9518ef18f3d347a9259f38219c3be/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f646361742d61646d696e2f636f6e7472696275746f72732e7376673f77696474683d38393026627574746f6e3d66616c7365)](https://github.com/jqhph/dcat-admin/graphs/contributors)

### Financial Contributors

[](#financial-contributors)

Become a financial contributor and help us sustain our community. \[[Contribute](https://opencollective.com/dcat-admin/contribute)\]

#### Individuals

[](#individuals)

[![](https://camo.githubusercontent.com/7235817c88623cca5f5af862e598df671d28daeaa4acc9b5bd0fe87f69d29777/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f646361742d61646d696e2f696e646976696475616c732e7376673f77696474683d383930)](https://opencollective.com/dcat-admin)

#### Organizations

[](#organizations)

Support this project with your organization. Your logo will show up here with a link to your website. \[[Contribute](https://opencollective.com/dcat-admin/contribute)\]

[![](https://camo.githubusercontent.com/7a3cdfb8d722481d28c6405d52c27213a9aba3f3269230ef13f07a001f80b57d/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f646361742d61646d696e2f6f7267616e697a6174696f6e2f302f6176617461722e737667)](https://opencollective.com/dcat-admin/organization/0/website)[![](https://camo.githubusercontent.com/f8ed61bf64e6de86eda509319c0e62a567a484d643df882a1ed213ed7519d89d/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f646361742d61646d696e2f6f7267616e697a6174696f6e2f312f6176617461722e737667)](https://opencollective.com/dcat-admin/organization/1/website)[![](https://camo.githubusercontent.com/87dc4d443787fa8aaa1bc06269bec99239362f5faac77a03482c8258f4521346/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f646361742d61646d696e2f6f7267616e697a6174696f6e2f322f6176617461722e737667)](https://opencollective.com/dcat-admin/organization/2/website)[![](https://camo.githubusercontent.com/02df803743a1ec3e4d7a0ef5d79002a5ebfaa8a1beb8950828e42914c2816c01/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f646361742d61646d696e2f6f7267616e697a6174696f6e2f332f6176617461722e737667)](https://opencollective.com/dcat-admin/organization/3/website)[![](https://camo.githubusercontent.com/1f2bd02198efeab47c3360dc466e014c341a5bf1105abf7e37b407907b339123/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f646361742d61646d696e2f6f7267616e697a6174696f6e2f342f6176617461722e737667)](https://opencollective.com/dcat-admin/organization/4/website)[![](https://camo.githubusercontent.com/a44d97e0471e498310628fe60970b5184dcc1f81bb0daea89a2276490e3297c7/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f646361742d61646d696e2f6f7267616e697a6174696f6e2f352f6176617461722e737667)](https://opencollective.com/dcat-admin/organization/5/website)[![](https://camo.githubusercontent.com/08a3229df09aa1ba0c424486eb5893f74b093ae17ebf584eea6ae7674de85703/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f646361742d61646d696e2f6f7267616e697a6174696f6e2f362f6176617461722e737667)](https://opencollective.com/dcat-admin/organization/6/website)[![](https://camo.githubusercontent.com/834f256a5c08078221e7b799f86cedba499fd391237517b15dcd121c5e7e40fe/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f646361742d61646d696e2f6f7267616e697a6174696f6e2f372f6176617461722e737667)](https://opencollective.com/dcat-admin/organization/7/website)[![](https://camo.githubusercontent.com/19330ab069e36f0e729c904de5b97ce73200cc3b788a7251eed9f123f67e4ae6/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f646361742d61646d696e2f6f7267616e697a6174696f6e2f382f6176617461722e737667)](https://opencollective.com/dcat-admin/organization/8/website)[![](https://camo.githubusercontent.com/b266cc1bc311c659119fbc6173f202a328813b15829cf9505a9d92213a6b1ac2/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f646361742d61646d696e2f6f7267616e697a6174696f6e2f392f6176617461722e737667)](https://opencollective.com/dcat-admin/organization/9/website)

### License

[](#license)

---

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

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity29

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

Unknown

Total

1

Last Release

1243d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ca885b3b62946fda91d63a825cad2cd4fc5bb45844d3bb36fc66e47041ee03d?d=identicon)[zy1141527178](/maintainers/zy1141527178)

---

Top Contributors

[![jqhph](https://avatars.githubusercontent.com/u/20312339?v=4)](https://github.com/jqhph "jqhph (2714 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)")[![pianzhou2021](https://avatars.githubusercontent.com/u/97172071?v=4)](https://github.com/pianzhou2021 "pianzhou2021 (9 commits)")[![lilashih](https://avatars.githubusercontent.com/u/55920306?v=4)](https://github.com/lilashih "lilashih (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)")[![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)")[![celaraze](https://avatars.githubusercontent.com/u/31471452?v=4)](https://github.com/celaraze "celaraze (6 commits)")[![vagra](https://avatars.githubusercontent.com/u/1576687?v=4)](https://github.com/vagra "vagra (5 commits)")[![PorygonCN](https://avatars.githubusercontent.com/u/31176914?v=4)](https://github.com/PorygonCN "PorygonCN (5 commits)")[![SmallRuralDog](https://avatars.githubusercontent.com/u/5151848?v=4)](https://github.com/SmallRuralDog "SmallRuralDog (5 commits)")[![Gelaku](https://avatars.githubusercontent.com/u/18202049?v=4)](https://github.com/Gelaku "Gelaku (4 commits)")[![xqbumu](https://avatars.githubusercontent.com/u/6274534?v=4)](https://github.com/xqbumu "xqbumu (3 commits)")[![attentive20](https://avatars.githubusercontent.com/u/71190913?v=4)](https://github.com/attentive20 "attentive20 (3 commits)")[![yurenzhen](https://avatars.githubusercontent.com/u/17454748?v=4)](https://github.com/yurenzhen "yurenzhen (3 commits)")

### Embed Badge

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

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

###  Alternatives

[jeroennoten/laravel-adminlte

Easy AdminLTE integration with Laravel

4.0k4.8M43](/packages/jeroennoten-laravel-adminlte)[dmstr/yii2-adminlte-asset

AdminLTE backend theme asset bundle for Yii 2.0 Framework

1.1k1.8M67](/packages/dmstr-yii2-adminlte-asset)[dwij/laraadmin

LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like CRUD Generation, Module Manager, Media, Menus, Backups and much more

1.6k68.7k](/packages/dwij-laraadmin)[filament/spatie-laravel-media-library-plugin

Filament support for `spatie/laravel-medialibrary`.

1764.8M125](/packages/filament-spatie-laravel-media-library-plugin)[bezhansalleh/filament-exceptions

A Simple &amp; Beautiful Pluggable Exception Viewer for FilamentPHP's Admin Panel

193195.9k13](/packages/bezhansalleh-filament-exceptions)[filament/infolists

Easily add beautiful read-only infolists to any Livewire component.

1220.8M36](/packages/filament-infolists)

PHPackages © 2026

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