PHPackages                             wula/cms-support - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. wula/cms-support

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

wula/cms-support
================

CMS功能支持类库

v3.0.2(5y ago)0210MITPHP

Since Feb 27Pushed 5y ago2 watchersCompare

[ Source](https://github.com/ninggf/wulacms_extension_cms)[ Packagist](https://packagist.org/packages/wula/cms-support)[ Docs](https://www.wulacms.com/extensions/cms)[ RSS](/packages/wula-cms-support/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (1)Versions (22)Used By (0)

CMS支持扩展
=======

[](#cms支持扩展)

wulacms的支持库，提供配置加载、命令行安装，命令行管理模板等功能.

命令行安装wulacms
------------

[](#命令行安装wulacms)

### 1. 直接运行`php artisan wulacms:install`

[](#1-直接运行php-artisan-wulacmsinstall)

根据提示输入完成安装即可.

### 2. 基于配置安装 `php artisan wulacms:install conf`

[](#2-基于配置安装-php-artisan-wulacmsinstall-conf)

`conf`使用HTTP GET请求参数格式，参数解释如下:

1. env: wulacms运行环境,可选\[dev,pro,test,int\]
2. dbhost: 数据库服务器地址
3. dbport: 数据库端口
4. dbname: 数据库名
5. dbuser: 数据库用户名
6. dbpwd: 数据库密码
7. charset: 编码
8. username: 登录用户名

> 管理员密码将自动生成.

缓存支持
----

[](#缓存支持)

1. 在`bootstrap.php`文件中将`APP_MODE`设为`pro`。
2. 修改`conf/cache_config.php`配置缓存服务器。
3. 在输出页面内容前定义`CACHE_EXPIRE`常量值为缓存时间即可(单位秒)。

### 防雪崩机制

[](#防雪崩机制)

在`bootstrap.php`文件中将`ANTI_AVALANCHE`设为`true`即可开启（需要redis支持）。

防CC支持
-----

[](#防cc支持)

1. 在`bootstrap.php`文件中将`ANTI_CC`设为单位时间内同一IP可访问次数开启防CC机制。

    - `ANTI_CC` 格式有两种：
        1. 直接配置访问次数，格式为:`100`。表示60秒内最多访问100次。
        2. 同时配置访问次数与单位时间,格式为:`60/120`。表示120秒内最多访问100次。
    - 通过定义`ANTI_CC_WHITE`常量设置白名单，以逗号分隔.
2. 在`conf/ccredis_config.php`配置供防CC机制工作的redis。

    ```
    return ['host'=>'localhost','port'=>6379,'db'=>0,'auth'=>'','timeout'=>5];
    ```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 97.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~48 days

Recently: every ~113 days

Total

21

Last Release

2040d ago

Major Versions

v1.0.13 → v2.0.12018-11-18

v2.2.0 → v3.0.02020-03-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/0fbc94bdddaa037a7447b60ee88aa33d28275134ae727cdf29f7e6290e8aebd8?d=identicon)[ninggf](/maintainers/ninggf)

![](https://www.gravatar.com/avatar/2959562a1af0d0d5e86ea818ed9ecd32a9c518fac9192b0f67b016a10642daf8?d=identicon)[windywany](/maintainers/windywany)

---

Top Contributors

[![windywany](https://avatars.githubusercontent.com/u/1430771?v=4)](https://github.com/windywany "windywany (47 commits)")[![ninggf](https://avatars.githubusercontent.com/u/19420005?v=4)](https://github.com/ninggf "ninggf (1 commits)")

### Embed Badge

![Health badge](/badges/wula-cms-support/health.svg)

```
[![Health](https://phpackages.com/badges/wula-cms-support/health.svg)](https://phpackages.com/packages/wula-cms-support)
```

###  Alternatives

[nette/robot-loader

🍀 Nette RobotLoader: high performance and comfortable autoloader that will search and autoload classes within your application.

89152.7M321](/packages/nette-robot-loader)[phospr/quantity

PHP value objects for quantities

112.7k](/packages/phospr-quantity)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
