magein / ecms
Easy Content System Manager
dev-master
2024-03-13 05:35 UTC
Requires
- php: >=7.2.5
- ext-json: *
- endroid/qr-code: ^4.6
- guzzlehttp/guzzle: ^7.8
- jenssegers/agent: ^2.6
- magein/sms: ^1.0.0
- magein/think-migration: ^1.0.1
- magein/think-utils: ^2.0.0
- magein/utils: ^2.0.0
- phpmailer/phpmailer: ^6.8
- topthink/framework: ^6.1.0
- topthink/think-captcha: ^3.0
- topthink/think-filesystem: ^1.0
- topthink/think-image: 1.0
- topthink/think-migration: ^3.1
- topthink/think-multi-app: ^1.0
- topthink/think-orm: ^2.0
- topthink/think-queue: ^3.0
- topthink/think-view: ^1.0
Requires (Dev)
- magein/think-command: ^2.0.0
This package is auto-updated.
Last update: 2024-04-13 05:55:21 UTC
README
Easy Content System Content
简介
基于think6~、layui2.9~构建的内容管理系统
项目来源: YznCMS 后台开发框架 由于YznCMS使用thinkphp5.1开发且不支持composer安装
对此进行了升级
- thinkphp升级为thinkphp6.1~
- 支持composer安装
- 多语言
- curd页面快速构建
使用
安装
composer require magein/ecms -vvv -o
发布
# 安装默认为admin
php think ecms:publish
# 或者指定安装目录
php think ecms:publish system
执行命令后创建app/admin目录以及先关文件
创建数据库
如果尚未配置数据库参数,导致发布后没有创建表以及数据,请执行以下命令
php think ecms:database run
# 创建数据
php think ecms:database seed
静态资源文件
创建静态资源文件失败可以执行以下名称创建(需要有网络支持)
php think ecms:vendor
nginx推荐配置
location / {
try_files $uri $uri/ /index.php$uri$is_args$query_string;
}
location ~.*.php($|/) {
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_index index.php;
fastcgi_pass php:9000;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
include fastcgi_params;
}
富文本
tinymce
语言包:https://www.tiny.cloud/get-tiny/language-packages/
采用弹出框形式展示的时候,功能样式会被覆盖(替换的文件已经删除,等待重新测试):
参考:https://gitee.com/chick1993/layui-tinymce#q1-在弹窗里面使用时菜单定位在弹窗下面怎么办
修改public/vendor/ecms/libs/plugins/tinymce/skins/ui/oxide/skin.min.css中的z-index值
使用正则替换:
# 表达式
z-index:(\d+)
# 替换的内容
z-index:$100000