roots/wp-config
最新稳定版本:1.0.0
Composer 安装命令:
composer require roots/wp-config
包简介
Collect configuration values and safely define() them
README 文档
README
Config::define('WP_DEBUG_DISPLAY', false); Config::define('WP_DEBUG_DISPLAY', true); Config::apply(); echo WP_DEBUG_DISPLAY; // true
\Roots\WPConfig
Requirements
This library requires PHP 7.1+. If you need PHP 5.6 support: use 1.0.0.
Tests
Just run make to do everything
We use PHPUnit 7 because it has compatibility for PHP 7.1
There are 3 test commands
make testrun the full test suite from php to 7.1 to 7.4make test-fastrun php 7 testsmake test-coveragegenerate an html test coverage report in./coverage
统计信息
- 总下载量: 7.13M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 54
- 点击次数: 2
- 依赖项目数: 91
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04