amazeeio/drupal-integrations
最新稳定版本:0.5.0
Composer 安装命令:
composer require amazeeio/drupal-integrations
包简介
Add this project to any Drupal 9+ distribution based on drupal/core-composer-scaffold to enable it for use on Lagoon.
README 文档
README
Add this project to any Drupal distribution based on drupal/core-composer-scaffold to enable it for use on Lagoon.
This project enables the following Lagoon integrations:
- Injects the Lagoon database credentials for the Drupal site
- Demonstrates how to turn on twig debugging on non-production Lagoon environments
- Sets the path to:
- Configuration import / export directory
- Private files
- Temporary files
- Twig cache files
- Establishes a secure, random hash salt for Drupal
- Prevents the user from updating Drupal core with Drush
- Configures the trusted host patterns to avoid a warning that is not applicable to Lagoon
- Ignores large cache directories (e.g. node modules and bower components)
- Installs lagoon wildcard drush alias file
- Drush commands for lagoon
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.
{
...
"require": {
"amazeeio/drupal_integrations"
},
...
"extra": {
"drupal-scaffold": {
"allowed-packages": [
"amazeeio/drupal_integrations"
]
}
}
}
Drush commands for Lagoon
lagoon:aliases (la) Get all remote aliases from lagoon API.
lagoon:jwt (jwt) Generate a JWT token for the lagoon API.
lagoon:post-rollout-tasks Run post-rollout tasks.
lagoon:pre-rollout-tasks Run pre-rollout tasks.
Tests
Tests will run PHPCS across all files within the assets and src directories.
composer install
composer test
Site-Wide Drush Commands
Installing this module requires that the installer-paths in the Drupal site's composer.json file contains "drush/Commands/contrib/{$name}": ["type:drupal-drush"].
"extra": {
"installer-paths": {
"drush/Commands/contrib/{$name}": ["type:drupal-drush"]
}
}
Credits
Big thanks goes out to Greg Anderson from Pantheon all his hard work that went into improving drupal's composer integration allows us to manage platform settings via a composer project.
amazeeio/drupal-integrations 适用场景与选型建议
amazeeio/drupal-integrations 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4.48k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2020 年 05 月 26 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 amazeeio/drupal-integrations 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 amazeeio/drupal-integrations 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 4.48k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 18
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-05-26