devgeniem/wp-geniem-project-bells-and-whistles
Composer 安装命令:
composer require devgeniem/wp-geniem-project-bells-and-whistles
包简介
Geniem WP Project Bells & Whistles
关键字:
README 文档
README
This WordPress mu-plugin is a collection of fixes and configurations for Geniem WordPress projects. A mu-plugin ensures that all functionalities get executed at an early stage of the WordPress bootstrap process and execution order can be controlled by using WordPress actions and filters.
Installation
The boilerplate plugin works as a WordPress mu-plugin but requires the Bedrocks' mu-plugin autoloader. Install the plugin with Composer:
$ composer require devgeniem/wp-geniem-project-bells-and-whistles
Features
- Composer setup for WordPress plugins
- PSR-4 autoloading for namespace \Geniem\Project in the src/ directory.
Feature classes
DisableAdminEmailVerification
Disables the periodical admin email verification that was introduced in WordPress version 5.3.
FixStreamDateFormat
Fixes the date format in the WP Stream plugin database queries to make it work with Geniem's databases.
Disabling a feature class
To disable a feature defined in a specific class, add its class name without the namespace into the following constant in your WordPress configuration file (e.g. wp-config.php):
define( 'GENIEM_DISABLE_BELLS_AND_WHISTLES', [
'Example',
]);
Contributions
This plugin is intended to contain various fixes and WP bootstrapping features that should be added, updated or removed as needed.
Adding a feature
- Add a class for the feature into the src/ directory following the PSR-4 namespace convention.
- Add the function' class name into the $classes array in plugin.php. The class is instantiated automatically.
- Test the feature well
- Update the changelog and create a pull request
Encapsulation
Encapsulate your features well meaning fixes and configurations for a specific WordPress feature or plugin are done in one class. This keeps the repository clean and easy to maintain.
devgeniem/wp-geniem-project-bells-and-whistles 适用场景与选型建议
devgeniem/wp-geniem-project-bells-and-whistles 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 34.43k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2019 年 11 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「plugin」 「wordpress」 「wp」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 devgeniem/wp-geniem-project-bells-and-whistles 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 devgeniem/wp-geniem-project-bells-and-whistles 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 devgeniem/wp-geniem-project-bells-and-whistles 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE 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.
Allows polling user for event dates and times.
Support swipe touch gestures to navigate in paginated lists and on Tidypics image pages.
Add a postscript to every email notification sent out to users.
统计信息
- 总下载量: 34.43k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2019-11-14