Download the PHP package wula/cms-support without Composer
On this page you can find all versions of the php package wula/cms-support. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wula/cms-support
More information about wula/cms-support
Files in wula/cms-support
Download wula/cms-support
More information about wula/cms-support
Files in wula/cms-support
Vendor wula
Package cms-support
Short Description CMS功能支持类库
License MIT
Homepage https://www.wulacms.com/extensions/cms
Package cms-support
Short Description CMS功能支持类库
License MIT
Homepage https://www.wulacms.com/extensions/cms
Please rate this library. Is it a good library?
Informations about the package cms-support
CMS支持扩展
wulacms的支持库,提供配置加载、命令行安装,命令行管理模板等功能.
命令行安装wulacms
1. 直接运行php artisan wulacms:install
根据提示输入完成安装即可.
2. 基于配置安装 php artisan wulacms:install conf
conf
使用HTTP GET请求参数格式,参数解释如下:
- env: wulacms运行环境,可选[dev,pro,test,int]
- dbhost: 数据库服务器地址
- dbport: 数据库端口
- dbname: 数据库名
- dbuser: 数据库用户名
- dbpwd: 数据库密码
- charset: 编码
- username: 登录用户名
管理员密码将自动生成.
缓存支持
- 在
bootstrap.php
文件中将APP_MODE
设为pro
。 - 修改
conf/cache_config.php
配置缓存服务器。 - 在输出页面内容前定义
CACHE_EXPIRE
常量值为缓存时间即可(单位秒)。
防雪崩机制
在bootstrap.php
文件中将ANTI_AVALANCHE
设为true
即可开启(需要redis支持)。
防CC支持
-
在
bootstrap.php
文件中将ANTI_CC
设为单位时间内同一IP可访问次数开启防CC机制。ANTI_CC
格式有两种:- 直接配置访问次数,格式为:
100
。表示60秒内最多访问100次。 - 同时配置访问次数与单位时间,格式为:
60/120
。表示120秒内最多访问100次。
- 直接配置访问次数,格式为:
- 通过定义
ANTI_CC_WHITE
常量设置白名单,以逗号分隔.
- 在
conf/ccredis_config.php
配置供防CC机制工作的redis。
All versions of cms-support with dependencies
PHP Build Version
Package Version
Requires
wula/wulaphp Version
>=2.5
The package wula/cms-support contains the following files
Loading the files please wait ....