therealworld/housekeeping-plugin
Composer 安装命令:
composer require therealworld/housekeeping-plugin
包简介
a script for oxid6 install housekeeping.
关键字:
README 文档
README

description
The Plugin ...
- activate the maintenance-Mode from shop before Installation. (ShopMaintenance::setShopMaintenanceOn)
- disable all active Modules before Installation. (ShopMaintenance::disableActiveModules)
- If you have modules that are interdependent and there are modules that need to be activated before all other modules, you can note these VIP modules here in the order of installation. All other modules are then activated in the order supplied by OXID. ("housekeeping-vip-modules")
- deletes the unessessary demo-images from OXID6 source. (ShopMaintenance::deleteDemoImages)
- This can be dropped once the OXID6 developers remove the demo images from the "oxideshop_ce repository"
- removes the shop modules before they are copied anew by the composer-installation. This prevents the inquiry as to whether the modules should be overwritten. (ShopMaintenance::deleteModulesBeforeInstall) You can define the vendor-paths of your modules that you want to delete (extra->therealworld-parameters->housekeeping-delete-modulevendorids)
- removes the shop themes before they are copied anew by the composer-installation. This prevents the inquiry as to whether the theme should be overwritten. (ShopMaintenance::deleteThemesBeforeInstall) You can define the theme-ids of your themes that you want to delete (extra->therealworld-parameters->housekeeping-delete-themeids)
- activate all active Modules after Installation. (ShopMaintenance::activateActiveModules)
- deactivate the maintenance-Mode from shop after Installation. (ShopMaintenance::setShopMaintenanceOff)
- would ask before cleaning the modules and themes. If you do not want to be asked, set the switch "housekeeping-delete-withoutprompt" to true (extra->therealworld-parameters->"housekeeping-delete-withoutprompt":true)
- if a defined file exists, the installation is cancelled. This file could be create by another composer plugin (extra->therealworld-parameters->"housekeeping-dont-run-if-file-exists"->XYZ)
- if a defined file not exists, the installation is cancelled. This file could be create by another composer plugin (extra->therealworld-parameters->"housekeeping-run-if-file-exists"->XYZ)
- if a oxid-bool-variable are not true, the installation is cancelled. (extra->therealworld-parameters->"housekeeping-dont-run-if-boolconf-true"->XYZ)
- if a oxid-bool-variable are true, the installation is cancelled. (extra->therealworld-parameters->"housekeeping-run-if-boolconf-true"->XYZ)
- you can call all steps individually or run a wrapper (Processor::preRun, Processor::postRun)
add to your oxid6 composer.json
"require": {
...
"therealworld/housekeeping-plugin": "^1.4"
...
}
...
"scripts": {
"pre-install-cmd": [
...
"TheRealWorld\\HouseKeepingPlugin\\Processor::preRun",
/*
* alternatively all steps individually
*
* "TheRealWorld\\HouseKeepingPlugin\\ShopMaintenance::setShopMaintenanceOff",
* "TheRealWorld\\HouseKeepingPlugin\\ShopMaintenance::disableActiveModules",
* "TheRealWorld\\HouseKeepingPlugin\\ShopMaintenance::deleteModulesBeforeInstall",
* "TheRealWorld\\HouseKeepingPlugin\\ShopMaintenance::deleteThemesBeforeInstall",
*/
...
],
"post-install-cmd": [
...
"TheRealWorld\\HouseKeepingPlugin\\Processor::postRun",
/*
* alternatively all steps individually
*
* "TheRealWorld\\HouseKeepingPlugin\\ShopMaintenance::deleteDemoImages",
* "TheRealWorld\\HouseKeepingPlugin\\ShopMaintenance::activateActiveModules",
* "TheRealWorld\\HouseKeepingPlugin\\ShopMaintenance::setShopMaintenanceOff"
*/
...
]
},
...
"extra": {
...
"therealworld-parameters": {
"housekeeping-delete-modulevendorids": [
"trw", "bs", "oe"
],
"housekeeping-delete-themeids": [
"flowdevelop", "flow"
],
"housekeeping-vip-modules": [
"trwtools", "trwscheduler"
],
"housekeeping-dont-run-if-file-exists": [
"dontinstall"
],
"housekeeping-dont-run-if-file-not-exists": [
"pleaseinstall"
],
"housekeeping-dont-install-if-boolconf-true": [
"varxyz"
],
"housekeeping-dont-install-if-boolconf-false": [
"varabc"
],
"housekeeping-delete-withoutprompt": true
}
...
}
therealworld/housekeeping-plugin 适用场景与选型建议
therealworld/housekeeping-plugin 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 160 次下载、GitHub Stars 达 0, 最近一次更新时间为 2018 年 09 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「plugin」 「oxidEshop」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 therealworld/housekeeping-plugin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 therealworld/housekeeping-plugin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 therealworld/housekeeping-plugin 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
This file is mean to be used to install OXID eShop compilation.
This is OXID eShop compilation metapackage.
CakePHP 4.x AdminLTE Theme.
The toolkit-core-classes with useful functions for other modules
a script for oxid6 update preparations.
Plugin for YOURLS. Default tools to use in some laemmi plugins
统计信息
- 总下载量: 160
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-only
- 更新时间: 2018-09-18