PHPackages                             pantheon-systems/example-drops-7-composer - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. pantheon-systems/example-drops-7-composer

AbandonedArchivedProject[Utility &amp; Helpers](/categories/utility)

pantheon-systems/example-drops-7-composer
=========================================

Install drops-7 with Composer on Pantheon.

1.1.1(5y ago)61.1k13[2 issues](https://github.com/pantheon-systems/example-drops-7-composer/issues)[11 PRs](https://github.com/pantheon-systems/example-drops-7-composer/pulls)MITPHPPHP &gt;=5.2.5

Since Feb 23Pushed 1y ago2 watchersCompare

[ Source](https://github.com/pantheon-systems/example-drops-7-composer)[ Packagist](https://packagist.org/packages/pantheon-systems/example-drops-7-composer)[ RSS](/packages/pantheon-systems-example-drops-7-composer/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (22)Versions (30)Used By (0)

Example Drops 7 Composer
========================

[](#example-drops-7-composer)

This repository can be used to set up a Composer-Managed Drupal 7 site on [Pantheon](https://pantheon.io).

[![CircleCI](https://camo.githubusercontent.com/a6873970f26534c1f95112038b32370646dd0aef9bb776f0d00fec844eddd852/68747470733a2f2f636972636c6563692e636f6d2f67682f70616e7468656f6e2d73797374656d732f6578616d706c652d64726f70732d372d636f6d706f7365722e7376673f7374796c653d737667)](https://circleci.com/gh/pantheon-systems/example-drops-7-composer)[![Actively Maintained](https://camo.githubusercontent.com/2ae5ff81f271fb028d720adee6b3595770166f3707a4705a4a2a3b71c332b249/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50616e7468656f6e2d4163746976656c795f4d61696e7461696e65642d79656c6c6f773f6c6f676f3d70616e7468656f6e26636f6c6f723d464644433238)](https://pantheon.io/docs/oss-support-levels#actively-maintained)

[![Pantheon example-drops-7-composer](https://camo.githubusercontent.com/087dfac7f9c49b0f56f3b0fc43737dd65c91a9a637926100499d43a4911fb804/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70616e7468656f6e2d64726f70735f372d79656c6c6f772e737667)](https://dashboard.pantheon.io/sites/f4acd01e-c989-48ab-8921-69c38206edee#dev/code)[![Dev Site example-drops-7-composer](https://camo.githubusercontent.com/9fd2d2b9445d854f4d5841ca772f4965f9595da44a05397dacb671b50c3ff30b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736974652d64726f70735f372d626c75652e737667)](http://dev-example-drops-7-composer.pantheonsite.io/)

This repository is a start state for a Composer-based Drupal 7 workflow with Pantheon. It is meant to be copied by the the [Terminus Build Tools Plugin](https://github.com/pantheon-systems/terminus-build-tools-plugin) which will set up for you a brand new

- GitHub repo
- Free Pantheon sandbox site
- A CircleCI configuration to run tests and push from the source repo (GitHub) to Pantheon.

For more background information on this style of workflow, see the [Pantheon documentation](https://pantheon.io/docs/guides/github-pull-requests/).

Installation
------------

[](#installation)

### Prerequisites

[](#prerequisites)

Before running the `terminus build:project:create` command, make sure you have all of the prerequisites:

- [A Pantheon account](https://dashboard.pantheon.io/register)
- [Terminus, the Pantheon command line tool](https://pantheon.io/docs/terminus/install/)
- [The Terminus Build Tools Plugin](https://github.com/pantheon-systems/terminus-build-tools-plugin)
- An account with GitHub and an authentication token capable of creating new repos.
- An account with CircleCI and an authentication token.

You may find it easier to export the GitHub and CircleCI tokens as variables on your command line where the Build Tools Plugin can detect them automatically:

```
export GITHUB_TOKEN=[REDACTED]
export CIRCLE_TOKEN=[REDACTED]

```

### One command setup:

[](#one-command-setup)

Once you have all of the prerequisites in place, you can create your copy of this repo with one command:

```
terminus build:project:create pantheon-systems/example-drops-7-composer my-new-site --team="Agency Org Name"

```

The parameters shown here are:

- The name of the source repo, `pantheon-systems/example-drops-7-composer`. If you are interest in other source repos like WordPress, see the [Terminus Build Tools Plugin](https://github.com/pantheon-systems/terminus-build-tools-plugin).
- The machine name to be used by both the soon-to-be-created Pantheon site and GitHub repo. Change `my-new-site` to something meaningful for you.
- The `--team` flag is optional and refers to a Pantheon organization. Pantheon organizations are often web development agencies or Universities. Setting this parameter causes the newly created site to go within the given organization. Run the Terminus command `terminus org:list` to see the organizations you are a member of. There might not be any.

Important files and directories
-------------------------------

[](#important-files-and-directories)

### `/web`

[](#web)

Pantheon will serve the site from the `/web` subdirectory due to the configuration in `pantheon.yml`, facilitating a Composer based workflow. Having your website in this subdirectory also allows for tests, scripts, and other files related to your project to be stored in your repo without polluting your web document root.

#### `/config`

[](#config)

One of the directories moved to the git root is `/config`. This directory holds Drupal's `.yml` configuration files. In more traditional repo structure these files would live at `/sites/default/config/`. Thanks to [this line in `settings.php`](https://github.com/pantheon-systems/example-drops-7-composer/blob/master/web/sites/default/settings.php#L19), the config is moved entirely outside of the web root.

### `composer.json`

[](#composerjson)

If you are just browsing this repository on GitHub, you may notice that the files of Drupal core itself are not included in this repo. That is because Drupal core and contrib modules are installed via Composer and ignored in the `.gitignore` file. Specific contrib modules are added to the project via `composer.json` and `composer.lock` keeps track of the exact version of each modules (or other dependency). Modules, and themes are placed in the correct directories thanks to the `"installer-paths"` section of `composer.json`. `composer.json` also includes instructions for `drupal-scaffold` which takes care of placing some individual files in the correct places like `settings.pantheon.php`.

Behat tests
-----------

[](#behat-tests)

So that CircleCI will have some test to run, this repository includes a configuration of Behat tests. You can add your own `.feature` files within `/tests/features/`.

Github Actions
--------------

[](#github-actions)

If you need to enable Github Actions for an existing project, you should copy .ci/.github to .github and then add the following secrets to Github Actions configuration:

- TERMINUS\_TOKEN
- TERMINUS\_SITE
- SSH\_PRIVATE\_KEY
- GIT\_EMAIL

Updating your site
------------------

[](#updating-your-site)

When using this repository to manage your Drupal site, you will no longer use the Pantheon dashboard to update your Drupal version. Instead, you will manage your updates using Composer. Ensure your site is in Git mode, clone it locally, and then run composer commands from there. Commit and push your files back up to Pantheon as usual.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance21

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 73.1% 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 ~272 days

Total

5

Last Release

2179d ago

### 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 (19 commits)")[![kporras07](https://avatars.githubusercontent.com/u/2217820?v=4)](https://github.com/kporras07 "kporras07 (3 commits)")[![g1a-pantheon](https://avatars.githubusercontent.com/u/290197609?v=4)](https://github.com/g1a-pantheon "g1a-pantheon (2 commits)")[![ataylorme](https://avatars.githubusercontent.com/u/2133004?v=4)](https://github.com/ataylorme "ataylorme (1 commits)")[![rvtraveller](https://avatars.githubusercontent.com/u/1789427?v=4)](https://github.com/rvtraveller "rvtraveller (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/pantheon-systems-example-drops-7-composer/health.svg)

```
[![Health](https://phpackages.com/badges/pantheon-systems-example-drops-7-composer/health.svg)](https://phpackages.com/packages/pantheon-systems-example-drops-7-composer)
```

###  Alternatives

[mautic/core

Mautic Open Source Distribution

9.8k2.6k9](/packages/mautic-core)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)[farmos/farmos

A web-based farm record keeping application.

1.3k7.0k1](/packages/farmos-farmos)[vardot/varbase-project

Project template for Varbase distribution.

5162.4k](/packages/vardot-varbase-project)[fourkitchens/sous-drupal-project

Starter project for Sous a Drupal distribution featuring a theme based on Emulsify Design System.

141.1k](/packages/fourkitchens-sous-drupal-project)

PHPackages © 2026

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