1 Star 0 Fork 269

gm / dcat-admin

forked from 剑走偏锋 / dcat-admin 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README
MIT

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

learnku文档 | 文档 | Demo | Demo源码 | Demo源码 (码云) | 扩展

Build Status StyleCI

截图

功能特性

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

环境

  • PHP >= 7.1.0
  • Laravel 5.5.0 ~ 7.*
  • Fileinfo PHP Extension

安装

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

首先请确保已经安装了laravel,如果没有安装laravel,则可以通过以下命令安装:

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

安装好了laravel,然后设置数据库连接设置正确。

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

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

扩展

扩展 描述 dcat-admin 版本
dcat-page 简洁的静态站点构建工具 *
ueditor 百度在线编辑器 *
grid-sortable 表格拖曳排序工具 *

鸣谢

Dcat Admin 基于以下组件:

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

License


dcat-admin is licensed under The MIT License (MIT).

The MIT License (MIT) Copyright (c) 2019 Jiang qinghua, Jens Segers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

使用很少的代码快速构建一个功能完善的高颜值后台系统,内置丰富的后台常用组件,开箱即用,让开发者告别冗杂的HTML代码。 expand collapse
PHP
MIT
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
PHP
1
https://gitee.com/vpn1919/dcat-admin.git
git@gitee.com:vpn1919/dcat-admin.git
vpn1919
dcat-admin
dcat-admin
master

Search

14c37bed 8189591 565d56ea 8189591