bap72190/composer-importer
Composer 安装命令:
composer require bap72190/composer-importer
包简介
Import/update composer file with contrib modules from an outdated site.
README 文档
README
Composer Importer is a Composer plugin that can import all contrib modules from an existing Drupal site already using composer into the composer file. This is useful when the composer file doesn't get used properly and modules end up being installed outside composer.
This project was created based on the work by grasmash/composerize-drupal
Installation
composer global require bap72190/composer-importer
Usage:
cd path/to/drupal/project/repo
composer ci --composer-root=[repo-root] --drupal-root=[drupal-root]
The [composer-root] should be the root directory of your project, where existing composer.json file is located.
The [drupal-root] should be the Drupal root, where index.php is located.
Options
--composer-root: Specifies the root directory of your project wherecomposer.jsonwill be generated. This should be the root of your Git repository, where.gitis located.--drupal-root: Specifies the Drupal root directory whereindex.phpis located.--no-update: Preventscomposer updatefrom being automatically run aftercomposer.jsonis generated.--exact-versions: Will cause Drupal core and contributed projects (modules, themes, profiles) to be be required with exact verions constraints incomposer.json, rather than using the default caret operator. E.g., adrupal/corewould be required as8.4.4rather than^8.4.4. This prevents projects from being updated. It is not recommended as a long-term solution, but may help you convert to using Composer more easily by reducing the size of the change to your project.
bap72190/composer-importer 适用场景与选型建议
bap72190/composer-importer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 9 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 07 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 bap72190/composer-importer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 bap72190/composer-importer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2021-07-08