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 按照装置导游停止正在线设置
             

MyCms v1.5.02009,一款,基于,开辟,收的,开源

使用道具 举报