PHPackages                             pantheon-systems/drupal-integrations - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. pantheon-systems/drupal-integrations

ActiveProject

pantheon-systems/drupal-integrations
====================================

Add this project to any Drupal distribution based on drupal/core-composer-scaffold to enable it for use on Pantheon.

11.2.0(1y ago)135.6M—7.3%15[3 issues](https://github.com/pantheon-systems/drupal-integrations/issues)[2 PRs](https://github.com/pantheon-systems/drupal-integrations/pulls)17MITPHP

Since Jan 29Pushed 10mo ago36 watchersCompare

[ Source](https://github.com/pantheon-systems/drupal-integrations)[ Packagist](https://packagist.org/packages/pantheon-systems/drupal-integrations)[ RSS](/packages/pantheon-systems-drupal-integrations/feed)WikiDiscussions 11.x Synced 1mo ago

READMEChangelogDependenciesVersions (48)Used By (17)

pantheon-systems/drupal-integrations
====================================

[](#pantheon-systemsdrupal-integrations)

[![Actively Maintained](https://camo.githubusercontent.com/2ae5ff81f271fb028d720adee6b3595770166f3707a4705a4a2a3b71c332b249/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50616e7468656f6e2d4163746976656c795f4d61696e7461696e65642d79656c6c6f773f6c6f676f3d70616e7468656f6e26636f6c6f723d464644433238)](https://pantheon.io/docs/oss-support-levels#actively-maintained-support)

Add this project to any Composer-managed Drupal to enable it for use on Pantheon.

This project enables the following Pantheon/Drupal integrations:

- Injects the Pantheon database credentials for the Drupal site
- Sets the path to:
    - Configuration import / export directory
    - Private files
    - Temporary files
    - Twig cache files
- Establishes a secure, random hash salt for Drupal
- Injects the Pantheon Service Provider (clears edge cache on cache rebuild, etc.)
- Configures the trusted host patterns to avoid a warning that is not applicable to Pantheon
- Ignores large cache directories (e.g. node modules and bower components)

Enabling this project
---------------------

[](#enabling-this-project)

To enable this project, it must first be added to the Drupal site:

```
composer require pantheon-systems/drupal-integrations:^11.1

```

Then, Pantheon must be enabled from within your site's settings.php file:

```
include \Pantheon\Integrations\Assets::dir() . "/settings.pantheon.php";

```

See the [include-settings.php.tmpl](https://github.com/pantheon-systems/drupal-integrations/blob/11.x/vendored-assets/include-settings.php.tmpl) file for additional configuration you may wish to include in your settings.php file.

Versions
--------

[](#versions)

Use the major version of this project that matches your Drupal version.

Drupal Versiondrupal-integrations Version11.x^1110.x^109.x^98.x^8Scaffolding
-----------

[](#scaffolding)

Early versions of this project used the project drupal/core-composer-scaffold to copy the files needed into the right locations. Starting with Drupal 10.4, the scaffold extension is deprecated, and will cause the Drupal Package Manager to refuse to allow your site to be updated if it is allowed to scaffold files in your site's root composer.json file.

If your site is still using the scaffolding feature, you will see the following error messages:

```
Unable to download modules via the UI: Any packages other than the implicitly allowed packages are not allowed to scaffold files. See the scaffold documentation for more information. pantheon-systems/drupal-integrations

```

and:

```
Your site cannot be automatically updated until further action is performed.

Any packages other than the implicitly allowed packages are not allowed to scaffold files. See the scaffold documentation for more information.

pantheon-systems/drupal-integrations

```

To fix this problem, first update to the latest version of pantheon-systems/drupal-integrations via `composer update`; be sure you are on version 11.1.0 or later for a Drupal 11 site, or 10.1.0 for a Drupal 10 site. Then, find the following section in your top-level composer.json file:

```
        "drupal-scaffold": {
            "locations": {
                "web-root": "./web"
            },
            "allowed-packages": [
                "pantheon-systems/drupal-integrations"
            ],
            "file-mapping": {
                "[project-root]/.editorconfig": false,
                "[project-root]/pantheon.upstream.yml": false,
                "[project-root]/.gitattributes": false
            }
        },

```

Delete the `allowed-packages` section.

Next, find the following line in your settings.php file:

```
include __DIR__ . "/settings.pantheon.php";

```

Replace that one line with the entire contents of the [include-settings.php.tmpl](https://github.com/pantheon-systems/drupal-integrations/blob/11.x/vendored-assets/include-settings.php.tmpl) file. Once you do this, the `settings.pantheon.php` file will no longer be copied into your site's configuration folder, and will instead be included directly from its installed location in the `vendor` directory. This should also cause the errors from the Drupal Package Manager to go away.

The above steps can be done automatically via Terminus. (Note: Requires the [Terminus Composer plugin](https://github.com/pantheon-systems/terminus-composer-plugin).)

```
$ terminus connection:set sftp
$ terminus composer update
$ terminus drush ev '\Pantheon\Integrations\Utils::stopScaffolding();'
$ terminus composer update
$ terminus env:commit --message "Stop scaffolding Pantheon's Drupal integrations, and include directly from vendor instead."

```

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance44

Moderate activity, may be stable

Popularity54

Moderate usage in the ecosystem

Community36

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 73.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~62 days

Recently: every ~38 days

Total

33

Last Release

315d ago

Major Versions

8.0.7 → 10.0.02022-11-30

8.0.8 → 9.0.52023-05-17

9.0.5 → 10.0.12023-05-17

10.0.1 → 11.0.02024-04-24

9.x-dev → 11.x-dev2025-07-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/b34cc6bd882277b6c6dda19bf6631ae5c3a909fd667c826a15121642cdc051b2?d=identicon)[greg.1.anderson](/maintainers/greg.1.anderson)

![](https://www.gravatar.com/avatar/5a89f5f15357797cbd6ec7833a28626478ae3c0ceb5fa1faa8a26d0960584c65?d=identicon)[pantheon-systems](/maintainers/pantheon-systems)

---

Top Contributors

[![greg-1-anderson](https://avatars.githubusercontent.com/u/612191?v=4)](https://github.com/greg-1-anderson "greg-1-anderson (30 commits)")[![kporras07](https://avatars.githubusercontent.com/u/2217820?v=4)](https://github.com/kporras07 "kporras07 (4 commits)")[![hawkeyetwolf](https://avatars.githubusercontent.com/u/1264248?v=4)](https://github.com/hawkeyetwolf "hawkeyetwolf (1 commits)")[![morvans](https://avatars.githubusercontent.com/u/697325?v=4)](https://github.com/morvans "morvans (1 commits)")[![rwagner00](https://avatars.githubusercontent.com/u/1789035?v=4)](https://github.com/rwagner00 "rwagner00 (1 commits)")[![scottbuscemi](https://avatars.githubusercontent.com/u/4336848?v=4)](https://github.com/scottbuscemi "scottbuscemi (1 commits)")[![artemkolotilkin](https://avatars.githubusercontent.com/u/334160?v=4)](https://github.com/artemkolotilkin "artemkolotilkin (1 commits)")[![stevector](https://avatars.githubusercontent.com/u/211029?v=4)](https://github.com/stevector "stevector (1 commits)")[![EdwardAngert](https://avatars.githubusercontent.com/u/17991901?v=4)](https://github.com/EdwardAngert "EdwardAngert (1 commits)")

### Embed Badge

![Health badge](/badges/pantheon-systems-drupal-integrations/health.svg)

```
[![Health](https://phpackages.com/badges/pantheon-systems-drupal-integrations/health.svg)](https://phpackages.com/packages/pantheon-systems-drupal-integrations)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
