forumone/wp-cfm
Composer 安装命令:
composer require forumone/wp-cfm
包简介
Manage and deploy WordPress configuration changes.
README 文档
README
Contributors: forum1, mgibbs189, elvismdev, mickaelperrin, alfreddatakillen, joshlevinson, jmslbam, gbeezus, tnolte, dsteersf1, jgleisner
Tags: configuration, settings, configuration management, features, wordpress, wp-cli
Donate link: http://forumone.com/
Requires at least: 4.7
Tested up to: 6.6.2
Requires PHP: 7.4
Stable tag: 2.0.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Manage and deploy WordPress configuration changes.
Description
WP-CFM lets you copy database configuration to / from the filesystem. Easily deploy configuration changes without needing to copy the entire database. WP-CFM is similar to Drupal's Features module.
How will WP-CFM benefit me?
- Less need to copy over the entire database.
- No more rushing to figure out which settings you forgot to change.
- Easily track and version configuration changes via git, subversion, etc.
Which data does WP-CFM support?
- WP settings (
wp_optionstable) - Multisite settings (
wp_sitemetatable) - Taxonomy terms
- Custom Field Suite field groups
Terminology
- Bundle - A group of (one or more) settings to track
- Push - Export database settings to the filesystem
- Pull - Import file-based settings into the database
WP-CLI
WP-CFM supports [pull / push / diff] of bundles from the command-line using WP-CLI:
wp config pull [bundle_name] wp config push [bundle_name] wp config diff [bundle_name] wp config bundles wp config show_bundle [bundle_name]
You can optionally set bundle_name to "all" to include all bundles.
Append the --network flag to include multisite bundles.
Filters
See the filters reference page at the GitHub Wiki.
Installation
Manual
- Upload to the
/wp-content/plugins/directory. - Activate the plugin.
- Browse to
Settings > WP-CFMto configure.
Git Updater
- Download the free version, or purchase the premium version, of the Git Updater plugin.
- Upload to the
/wp-content/plugins/directory. - Activate the plugin.
- Follow the plugin installation instructions on the Git Updater website.
Composer
- Run
composer require forumone/wp-cfmto add to your Composer-based site.
Frequently Asked Questions
Screenshots
- The admin management interface
- Editing a configuration "bundle"
- Diff viewer to track changes within a bundle
Changelog
forumone/wp-cfm 适用场景与选型建议
forumone/wp-cfm 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 57.11k 次下载、GitHub Stars 达 6, 最近一次更新时间为 2024 年 11 月 13 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「configuration」 「plugin」 「wordpress」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 forumone/wp-cfm 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 forumone/wp-cfm 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 forumone/wp-cfm 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
Configuration component
Utils to load, parse and work with configuration on Mezzio projects
Plugin for YOURLS. Default tools to use in some laemmi plugins
Trait to support creating complex nested class structures from JSON/YAML objects.
Advanced configuration manager for PHP with dotted-path access, file/directory/class loaders and a static facade.
统计信息
- 总下载量: 57.11k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 13
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-only
- 更新时间: 2024-11-13