1 Star 0 Fork 0

wenlin42 / dcat-extension-plus

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Dcat Plus

为 DcatAdmin 后台添加增强配置的功能。修改过程利用 DcatAdmin 自带的 admin_setting() 方法实现,不会硬编码修改任何 config 文件或者 .env 文件。

安装方式

本地安装

下载本项目 .zip 包,在 DcatAdmin 后台的 扩展 菜单中,通过上传进行安装。

Composer 安装

composer require celaraze/dcat-extension-plus

使用

在菜单 扩展 中启用扩展后,会自动添加名为 增强配置 的菜单。

功能

  • 站点标题

  • 站点 LOGO

  • 站点微缩 LOGO

  • 站点静态资源 URL

  • 调试模式

  • 语言切换

  • 移除底部授权

  • 头部块状显示

  • 侧栏缩进增大

  • 主题色切换

  • 菜单样式切换

  • 快速创建选项:表单可用 selectCreate() 字段类型,是 select 字段的增强,支持在右侧添加快速创建选项的按钮,异步添加值。

$form->selectCreate('department','部门')
    ->options(Department::class)
    ->ajax('/api/departments')      // 必须使用 api 方式取选项列表,格式同 select 字段的使用方法
    ->url('/departments/create')    // 异步打开的页面,这里是部门创建的页面 url
    ->required();

dcat-plus-site

增强配置截图

dcat-plus-site

dcat-plus-ui

dcat-plus-ui

开源协议

Dcat Plus 遵循 MIT 开源协议。

MIT License Copyright (c) 2021 celaraze 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.

简介

🌈 增强 DcatAdmin 使用体验!在线简化配置、UI优化、字段扩展。 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/wenlin423/dcat-extension-plus.git
git@gitee.com:wenlin423/dcat-extension-plus.git
wenlin423
dcat-extension-plus
dcat-extension-plus
master

搜索帮助