burst / drupal-distribution
该包最新版本(10.3.1)没有提供许可信息。
Burst Drupal 发行版。仅限内部使用。
10.3.1
2024-08-01 12:37 UTC
Requires
- composer/installers: ^2.2
- cweagans/composer-patches: ^1.7
- drupal/admin_toolbar: ^3.4
- drupal/config_ignore: ^3.3
- drupal/core: ~10.3.0
- drupal/core-composer-scaffold: ~10.3.0
- drupal/devel: ^5.2
- drupal/devel_kint_extras: ^1.1
- drupal/field_group: ^3.4
- drupal/paragraphs: ^1.17
- drupal/pathauto: ^1.12
- drupal/seckit: ^2.0
- drupal/simple_sitemap: ^4.1
- drupal/view_unpublished: ^1.2
- drush/drush: ^12.5
- dev-main
- 10.3.1
- 10.3.0
- 10.2.3
- 10.2.2
- 10.2.1
- 10.2.0
- 10.1.2
- 10.1.1
- 10.1.0
- 10.0.3
- 10.0.2
- 10.0.1
- 10.0.0
- 9.5.1
- 9.5.0
- 8.9.0
- 3.4.1
- 3.4.0
- 3.3.9
- 3.3.8
- 3.3.7
- 3.3.6
- 3.3.5
- 3.3.3
- 3.3.2
- 3.3.1
- 3.3.0
- 3.2.9
- 3.2.8
- 3.2.7
- 3.2.6
- 3.2.5
- 3.2.4
- 3.2.3
- 3.2.2
- 3.2.1
- 3.2.0
- 3.1.10
- 3.1.9
- 3.1.8
- 3.1.7
- 3.1.6
- 3.1.5
- 3.1.4
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.2
- 3.0.1
- 3.0.0
- 2.2.24
- 2.2.23
- 2.2.22
- 2.2.21
- 2.2.20
- 2.2.19
- 2.2.18
- 2.2.17
- 2.2.16
- 2.2.15
- 2.2.14
- 2.2.13
- 2.2.12
- 2.2.11
- 2.2.10
- 2.2.9
- 2.2.8
- 2.2.7
- 2.2.6
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 2.0.0-alpha11
- 2.0.0-alpha10
- 2.0.0-alpha9
- 2.0.0-alpha8
- 2.0.0-alpha7
- 2.0.0-alpha6
- 2.0.0-alpha5
- 2.0.0-alpha4
- 2.0.0-alpha3
- 2.0.0-alpha2
- 2.0.0-alpha1
- dev-feat/drupal_10.4.0-dev
- dev-legacy/drupal_10.2
- dev-legacy/drupal_10.0
- dev-legacy/drupal_10.1
- dev-legacy/drupal_9
- dev-legacy/drupal_8
This package is auto-updated.
Last update: 2024-09-01 12:53:23 UTC
README
因为我们大量使用 Drupal 10.1,这使得我们的工作变得更加简单。
本发行版旨在减少我们项目中样板代码的数量。减少项目间的复制粘贴,更多重用相同的代码。
如何使用
创建一个 composer.json 文件,并确保它至少包含以下内容
{
"type": "project",
"minimum-stability": "dev",
"prefer-stable": true,
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
}
],
"require": {},
"extra": {
"installer-paths": {
"web/core": [
"type:drupal-core"
],
"web/libraries/{$name}": [
"type:drupal-library"
],
"web/modules/contrib/{$name}": [
"type:drupal-module"
],
"web/profiles/contrib/{$vendor}-{$name}": [
"type:drupal-profile"
],
"web/themes/contrib/{$name}": [
"type:drupal-theme"
],
"drush/contrib/{$name}": [
"type:drupal-drush"
]
},
"enable-patching": true,
"drupal-scaffold": {
"locations": {
"web-root": "web"
}
},
"composer-exit-on-patch-failure": true
},
"config": {
"sort-packages": true,
"discard-changes": true,
"platform": {
"php": "7.4.999",
"ext-curl": "7.4.999",
"ext-gd": "7.4.999"
}
}
}
注意以下事项
- 不需要 drupal/core,它已经由 Burst 发行版所依赖。
然后,运行 composer require burst/drupal-distribution
。
现在,最重要的一步是将 /web/sites/default/settings.php
替换为以下内容
<?php
// This also includes settings.local.php and settings.ddev.php if these files exist.
require __DIR__ . '/../../profiles/contrib/burst-drupal-distribution/includes/settings.php';
Boom!这包括所有为 Platform.sh、Lando 以及未来可能的其他服务所需的所有配置。