burst / drupal-distribution
The Burst Drupal distribution. For internal use only.
Package info
gitlab.com/burstdigital/open-source/burst-drupal-distribution
Type:drupal-profile
pkg:composer/burst/drupal-distribution
Requires
- composer/installers: ^2.2
- cweagans/composer-patches: ^1.7
- drupal/admin_toolbar: ^3.5
- drupal/config_ignore: ^3.3
- drupal/core: ^11
- drupal/core-composer-scaffold: ^11
- drupal/devel: ^5.3
- drupal/devel_kint_extras: ^1.1
- drupal/field_group: ^4
- drupal/paragraphs: ^1.19
- drupal/pathauto: ^1.13
- drupal/seckit: ^2.0
- drupal/simple_sitemap: ^4.2.1
- drupal/view_unpublished: ^1.3
- drush/drush: ^13.0
This package is auto-updated.
Last update: 2026-05-21 14:32:19 UTC
README
Because we use Drupal 10.1 a lot, this makes all of our lives easier.
This distribution aims to remove the amount of boilerplate code we have in our projects. Less copy-pasting between projects, more re-using the same code.
How to use
Create a composer.json, and make sure it contains at least the following:
{
"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"
}
}
}
Note the following:
- No drupal/core is required, it is already required by the Burst distribution.
Then, run composer require burst/drupal-distribution.
Now, the best step of all.. replace /web/sites/default/settings.php with the following:
<?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! This includes all configuration needed for Platform.sh, Lando, and probabily other services in the future.