MyCms是一款基于Laravel开发的开源免费的自媒体博客CMS系统,适用于个人网站及企业网站开发使用,软件著作权编号:2021SR1543432。MyCms基于Apache2.0开源协议发布,免费且不限制商业使用,欢迎持续关注我们。

功能特性:
后台基础功能
权限管理
内容管理
商品管理
会员管理
插件管理

前台功能实现
首页
文章分类页
文章搜索页
文章标签页
文章详情页
文章评论
商品列表页
商品详情页
会员登录/注册
会员中心

系统特性
简洁优雅、灵活可扩展
对SEO优化友好的URL模式
更优雅、符合SEO优化的分页
基础缓存功能及数据库索引建立
更具拓展性的路由监听功能
完善的插件安装/卸载机制
公共函数埋点更好拓展系统
简单易用的模板函数、制作模板更方便

性能提升
使用opcache加速性能
缓存路由信息 php artisan route:cache
关闭调试模式 APP_DEBUG=false
缓存配置信息 php artisan config:cache
使用 Swoole 版本

Swoole版本
目前最新版本v1.3.2+已经加入 Swoole 支持。 使用新版本的用户直接安装后按以下配置即可。
使用旧版本的用户则需要先安装 composer require swooletw/laravel-swoole。 在 config/app.php 服务提供者数组添加该服务提供者。
[ \’providers\’ => [ SwooleTW\\Http\\LaravelServiceProvider::class, ], ]
执行命令
php artisan swoole:http start|restart|stop|reload|infos

Nginx配置
map $http_upgrade $connection_upgrade { default upgrade; \’\’ close; } server { listen 80; server_name your.domain.com; root /path/to/laravel/public; index index.php; location = /index.php { # Ensure that there is no such file named "not_exists" # in your "public" directory. try_files /not_exists @swoole; } # any php files must not be accessed #location ~* \\.php$ { # return 404; #} location / { try_files $uri $uri/ @swoole; } location @swoole { set $suffix ""; if ($uri = /index.php) { set $suffix ?$query_string; } proxy_http_version 1.1; proxy_set_header Host $http_host; proxy_set_header Scheme $scheme; proxy_set_header SERVER_PORT $server_port; proxy_set_header REMOTE_ADDR $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; # IF https # proxy_set_header HTTPS "on"; proxy_pass http://127.0.0.1:1215$suffix; } }

快速安装
下载源码 / 上传源码到服务器
在根目录运行 composer install –ignore-platform-reqs
在根目录创建.env文件并运行 php artisan key:generate 生成秘钥
将网站运行目录设置为 /public
访问 域名/install 根据安装向导进行在线配置

ID:73434
声明:本站所有资源均来源于互联网收集,仅供学习参考使用,如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。