thinkshout/drupal-integrations
Composer 安装命令:
composer create-project thinkshout/drupal-integrations
包简介
Add this project to any Drupal distribution based on drupal/core-composer-scaffold to get some TS reusable code.
README 文档
README
Add this project to any Drupal distribution based on drupal/core-composer-scaffold to enable it for use with ThinkShout.
This project enables the following useful things:
- Behat testing infrastructure (see assets/behat/README.md)
- visual regression testing infrastructure (see assets/.ci/test/visual-regression/README.md)
- github issue templates (see assets/.github/)
- config_split (see assets/config-local) for local development to enable:
- config_suite (automatic configuration export)
- stage_file_proxy (automatic image/file downloads from live site instance)
- site settings customizations (see assets/web/sites/default/):
- settings.php customizations:
- pantheon settings file compatibility (includes)
- includes settings.ts.php and settings.local.php if present
- settings.ts.php customizations:
- Pull in PRESSFLOW_SETTINGS from
robo configureusing phpdotenv for Drupal "hash_salt" - Enabling of the "local" config_split settings if not on Pantheon
- Enforces use of https on Pantheon instances of the site
- includes a "settings.dev.php" file if present
- Pull in PRESSFLOW_SETTINGS from
- services.dev.yml
- enables debugging helpers for twig:
- Automatically recompiles changes so you don't have to clear cache
- Includes the template hints in html comments
- Enables caching, the first step in setting up debugging for twig files.
- enables debugging helpers for twig:
- settings.php customizations:
Enabling this project
This project must be enabled in the top-level composer.json file, or it will be ignored and will not perform any of its functions.
Add the "repositories" and "extra" entries below to composer.json then run composer require thinkshout/drupal-integrations ^3.0. (You'll end up with the "require" entry automatically.)
{
...
"require": {
"thinkshout/drupal-integrations": "^3.0"
},
...
"extra": {
"drupal-scaffold": {
"allowed-packages": [
"thinkshout/drupal-integrations"
]
}
}
}
Altering scaffolding
If you need for any reason to remove a file that is scaffolded by this project, you'll need to specifically call that out in your composer.json, or the file will continue to be pulled in. For example, if you aren't using Config Suite on your site, you can do this to prevent its configuration file from being scaffolded:
"drupal-scaffold": {
"file-mapping": {
"[project-root]/config-local/config_suite.settings.yml": false
}
}
}
thinkshout/drupal-integrations 适用场景与选型建议
thinkshout/drupal-integrations 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 39.41k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 02 月 17 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 thinkshout/drupal-integrations 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 thinkshout/drupal-integrations 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 39.41k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 28
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-02-17