hiwelo/raccoon-plugin
Composer 安装命令:
composer require hiwelo/raccoon-plugin
包简介
Raccoon WordPress plugin allows you to easily manage WordPress projects with a json configuration file
关键字:
README 文档
README
Raccoon Plugin is a WordPress plugin which allows you to easily manage WordPress theme features with a JSON or YAML configuration file.
Summary
- Dev requirements
- Installation
- After installation
- Manifest JSON or YAML file
- Documentation
- Third-part features
Dev requirements
For its development, Raccoon Plugin requires:
- PHP >= 5.6
- Composer
- WordPress >= 4.4
Installation
To install the Raccoon Plugin in your WordPress project, you can :
-
Clone the repository in your WordPress plugin directory :
git clone https://github.com/hiwelo/raccoon-plugin.git -
If your using Composer and an environment like Bedrock :
composer require hiwelo/raccoon-plugin
If you want to install this plugin directly in your WordPress without Composer, I suggest you to install it in the Must-Use Plugins mu-plugins/ directory.
If you want to install this plugin with Composer, note that this package has a specific type (wordpress-muplugin) for a direct installation into the mu-plugins/ directory (like in Bedrock).
After installation
If the plugin is in the WordPress mu-plugins/ directory, you do not need to do something special to activate it.
You just need to create a manifest.json file in your theme's root directory to use it.
If the plugin is in the WordPress plugins/ directory, do not forget to activate it in the WordPress admin panel and create the manifest.json file in your theme's root directory.
Manifest JSON or YAML file
Once you created the JSON or YAML file in your theme's root directory, you can use in this file all features described in this project's wiki.
Third-part features
Raccoon loves Bedrock
Bedrock is a WordPress boilerplate which create a better projet structure mainly with a new wp-content/ folder renamed app/.
Bedrock use Composer and environments variables.
By example, Raccoon can use environments variables from Bedrocks to know the environment status (development, production, staging) and manage which debug informations has to be returned by the theme.
If you don't use Bedrock, you can manually set environment status in the manifest.json file like this :
{
"environment-status": "development"
}
hiwelo/raccoon-plugin 适用场景与选型建议
hiwelo/raccoon-plugin 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 570 次下载、GitHub Stars 达 20, 最近一次更新时间为 2016 年 02 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「plugin」 「wordpress」 「raccoon」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 hiwelo/raccoon-plugin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 hiwelo/raccoon-plugin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 hiwelo/raccoon-plugin 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
RaccoonWP is an opinionated WordPress architecture stack and starter theme
RaccoonWP is an opinionated WordPress architecture stack and starter theme
Plugin for YOURLS. Default tools to use in some laemmi plugins
Must-use plugin integrating WordPress with the Upsun platform: environment awareness, router-cache friendliness, safe preview clones, deploy migrations, Site Health checks, and a wp upsun CLI command.
RaccoonWP is an opinionated WordPress architecture stack and starter theme
统计信息
- 总下载量: 570
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 20
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2016-02-11