PHPackages                             arosboro/example-drops-lightning - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. arosboro/example-drops-lightning

ActiveProject[DevOps &amp; Deployment](/categories/devops)

arosboro/example-drops-lightning
================================

Drops 8 Composer with lightning install profile.

1.2.4(8y ago)0201MITPHP

Since May 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/arosboro/example-drops-lightning)[ Packagist](https://packagist.org/packages/arosboro/example-drops-lightning)[ RSS](/packages/arosboro-example-drops-lightning/feed)WikiDiscussions master Synced 2mo ago

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

Example Drops 8 Composer
========================

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

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

[![CircleCI](https://camo.githubusercontent.com/93ecbbd4e4c86027d31474497e73f0b5ae21f8548fad6eec8d67a0761d770a9a/68747470733a2f2f636972636c6563692e636f6d2f67682f70616e7468656f6e2d73797374656d732f6578616d706c652d64726f70732d382d636f6d706f7365722e7376673f7374796c653d736869656c64)](https://circleci.com/gh/pantheon-systems/example-drops-8-composer)[![Pantheon example-drops-8-composer](https://camo.githubusercontent.com/2eb1095f27130dec9b13701d5f55b7b972c39e01c81b39ad0ff713357fcef40e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64617368626f6172642d64726f70735f382d79656c6c6f772e737667)](https://dashboard.pantheon.io/sites/c401fd14-f745-4e51-9af2-f30b45146a0c#dev/code)[![Dev Site example-drops-8-composer](https://camo.githubusercontent.com/8192cbeb799f004370e87f158a0ed7fba0fa29fc56a9318a263df6bf149184e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736974652d64726f70735f382d626c75652e737667)](http://dev-example-drops-8-composer.pantheonsite.io/)

Overview
--------

[](#overview)

This project contains only the canonical resources used to build a Drupal site for use on Pantheon. There are two different ways that it can be used:

- Create a separate canonical repository on GitHub; maintain using a pull request workflow. **RECOMMENDED**
- Build the full Drupal site and then install it on Pantheon; maintain using `terminus composer` and on-server development.

The setup instructions vary based on which of these options you select.

Pull Request Workflow
---------------------

[](#pull-request-workflow)

When using a pull request workflow, only the canonical resources (code, configuration, etc.) exists in the master repository, stored on GitHub. A build step is used to create the full Drupal site and automatically deploy it to Pantheon. This is the recommended way to use this project.

### Setup

[](#setup)

For setup instructions, please see [Using GitHub Pull Requests with Composer and Drupal 8](https://pantheon.io/docs/guides/github-pull-requests/).

### Environment Variables

[](#environment-variables)

The [Terminus Build Tools Plugin](https://github.com/pantheon-systems/terminus-build-tools-plugin) automatically configures Circle CI to build your site. The following environment variables are defined:

- TERMINUS\_TOKEN: The Terminus Machine token previously created.
- GITHUB\_TOKEN: Used by CircleCI to post comments on pull requests.
- TERMINUS\_SITE: The name of the Pantheon site that will be used to test your site.
- TEST\_SITE\_NAME: Used to set the name of the test site when installing Drupal.
- ADMIN\_EMAIL: Used to configure the email address to use when installing Drupal.
- ADMIN\_PASSWORD: Used to set the password for the uid 1 user during site installation.
- GIT\_EMAIL: Used to configure the git user’s email address for commits we make.

If you need to modify any of these values, you may do so in the [Circle CI Environment Variable](https://circleci.com/docs/1.0/environment-variables/) configuration page.

### SSH Keys

[](#ssh-keys)

A [public/private key pair](https://pantheon.io/docs/ssh-keys/) is created and added to Circle CI (the private key) and the Pantheon site (the public key). If you need to update your public key, you may do so with Terminus:

```
$ terminus ssh-key:add ~/.ssh/id_rsa.pub

```

Pantheon "Standalone" Development
---------------------------------

[](#pantheon-standalone-development)

This project can also be used to do traditional "standalone" development on Pantheon using on-server development. In this mode, the canonical repository is immediately built out into a full Drupal site, and the results are committed to the Pantheon repository. Thereafter, no canoncial repository is used; all development will be done exclusively using the Pantheon database.

When doing "standalone" development, this project can either be used as an upstream repository, or it can be set up manually. The instructions for doing either follows in the section below.

### As an Upstream

[](#as-an-upstream)

Create a custom upstream for this project following the instructions in the [Pantheon Custom Upstream documentation](https://pantheon.io/docs/custom-upstream/). When you do this, Pantheon will automatically run composer install to populate the web and vendor directories each time you create a site.

### Manual Setup

[](#manual-setup)

Enter the commands below to create a a new site on Pantheon and push a copy of this project up to it.

```
$ SITE="my-site"
$ terminus site:create $SITE "My Site" "Drupal 8" --org="My Team"
$ composer create-project pantheon-systems/example-drops-8-composer $SITE
$ cd $SITE
$ composer prepare-for-pantheon
$ git init
$ git add -A .
$ git commit -m "Initial commit"
$ terminus  connection:set $SITE.dev git
$ PANTHEON_REPO=$(terminus connection:info $SITE.dev --field=git_url)
$ git remote add origin $PANTHEON_REPO
$ git push --force origin master
$ terminus drush $SITE.dev -- site-install --site-name="My Drupal Site"
$ terminus dashboard:view $SITE

```

Replace my-site with the name that you gave your Pantheon site. Customize the parameters of the `site:create` and `site-install` lines to suit.

### Installing Drupal

[](#installing-drupal)

Note that this example repository sets the installation profile to 'standard' in settings.php, so that the installer will not need to modify the settings file. If you would like to install a different profile, modify settings.php appropriately before installing your site.

### 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. Updates can be applied either directly on Pantheon, by using Terminus, or on your local machine.

#### Update with Terminus

[](#update-with-terminus)

Install [Terminus 1](https://pantheon.io/docs/terminus/) and the [Terminus Composer plugin](https://github.com/pantheon-systems/terminus-composer-plugin). Then, to update your site, ensure it is in SFTP mode, and then run:

```
terminus composer . update

```

Other commands will work as well; for example, you may install new modules using `terminus composer . require drupal/pathauto`.

#### Update on your local machine

[](#update-on-your-local-machine)

You may also place your site 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

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 89.4% 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 ~176 days

Total

2

Last Release

3107d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fa08c551ac49beb18968ea9a8f22937f416e9863c2b3f08ace0d09d12f093679?d=identicon)[arosboro](/maintainers/arosboro)

---

Top Contributors

[![greg-1-anderson](https://avatars.githubusercontent.com/u/612191?v=4)](https://github.com/greg-1-anderson "greg-1-anderson (101 commits)")[![stevector](https://avatars.githubusercontent.com/u/211029?v=4)](https://github.com/stevector "stevector (7 commits)")[![derimagia](https://avatars.githubusercontent.com/u/999489?v=4)](https://github.com/derimagia "derimagia (2 commits)")[![benjifisher](https://avatars.githubusercontent.com/u/1170799?v=4)](https://github.com/benjifisher "benjifisher (1 commits)")[![johnennewdeeson](https://avatars.githubusercontent.com/u/1913439?v=4)](https://github.com/johnennewdeeson "johnennewdeeson (1 commits)")[![petemcw](https://avatars.githubusercontent.com/u/131408?v=4)](https://github.com/petemcw "petemcw (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/arosboro-example-drops-lightning/health.svg)

```
[![Health](https://phpackages.com/badges/arosboro-example-drops-lightning/health.svg)](https://phpackages.com/packages/arosboro-example-drops-lightning)
```

###  Alternatives

[metadrop/drupal-boilerplate

Project template for Drupal 9 projects with a relocated document root

281.0k](/packages/metadrop-drupal-boilerplate)[fourkitchens/sous-drupal-project

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

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

PHPackages © 2026

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