shelane/toggle-modules
Composer 安装命令:
composer require shelane/toggle-modules
包简介
Enables and uninstalls specified modules per defined environment.
README 文档
README
This is an Acquia BLT plugin providing a process for toggling modules on a per environment basis.
This plugin is community-created and community-supported. Acquia does not provide any direct support for this software or provide any warranty as to its stability.
Installation and usage
To use this plugin, you must already have a Drupal project using BLT 13.
- Add this plugin to your project using composer:
composer require shelane/toggle-modules
- Initialize the toggle settings for your project:
blt recipes:config:init:toggle-modules
- Update your
blt.ymlfile with the list of modules you wish to enable to disable in each environment.
The command is registered as post-command hooks for the blt commands drupal:install and drupal:config:import. You
can also call the command manually by calling blt drupal:toggle:modules.
License
Copyright (C) 2021 Acquia, Inc.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
shelane/toggle-modules 适用场景与选型建议
shelane/toggle-modules 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 271.12k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2021 年 08 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 shelane/toggle-modules 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 shelane/toggle-modules 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 271.12k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 10
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2021-08-11