PHPackages                             ui-research/lightning-drops-8-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. [Framework](/categories/framework)
4. /
5. ui-research/lightning-drops-8-composer

ActiveProject[Framework](/categories/framework)

ui-research/lightning-drops-8-composer
======================================

Install lightning with Composer on Pantheon.

1.3.10(7y ago)031MITHTMLPHP &gt;=7.0.8

Since Nov 10Pushed 7y ago9 watchersCompare

[ Source](https://github.com/UI-Research/lightning-drops-8-composer)[ Packagist](https://packagist.org/packages/ui-research/lightning-drops-8-composer)[ RSS](/packages/ui-research-lightning-drops-8-composer/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (23)Versions (91)Used By (0)

Lightning Drops 8 Composer
==========================

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

[![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/)

This repository is a start state for a Composer-based Drupal (Lightning Distro) 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 site.

- 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 ui-research/lightning-drops-8-composer:dev-master my-new-site --org="UI-Research"

```

if this is part of the Urban "Team" there is an extra flag like so:

```
terminus build:project:create ui-research/lightning-drops-8-composer:dev-master my-new-site --org="UI-Research" --team="The Urban Institute"

```

The parameters shown here are:

- The name of the source repo, `UI-Research/lightning-drops-8-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 `--org` flag is optional and refers to a Github organization.
- The `--team` flag is optional and refers to a Pantheon organization.

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-8-composer/blob/54c84275cafa66c86992e5232b5e1019954e98f3/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/`.

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

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 82.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 ~24 days

Recently: every ~42 days

Total

28

Last Release

2800d ago

PHP version history (2 changes)1.3.4PHP &gt;=7.0

1.3.5PHP &gt;=7.0.8

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/195925935?v=4)[p51i](/maintainers/p51i)[@p51i](https://github.com/p51i)

---

Top Contributors

[![greg-1-anderson](https://avatars.githubusercontent.com/u/612191?v=4)](https://github.com/greg-1-anderson "greg-1-anderson (133 commits)")[![stevector](https://avatars.githubusercontent.com/u/211029?v=4)](https://github.com/stevector "stevector (12 commits)")[![derimagia](https://avatars.githubusercontent.com/u/999489?v=4)](https://github.com/derimagia "derimagia (2 commits)")[![jproctor](https://avatars.githubusercontent.com/u/363484?v=4)](https://github.com/jproctor "jproctor (2 commits)")[![shaal](https://avatars.githubusercontent.com/u/22901?v=4)](https://github.com/shaal "shaal (2 commits)")[![ElijahLynn](https://avatars.githubusercontent.com/u/1504756?v=4)](https://github.com/ElijahLynn "ElijahLynn (1 commits)")[![aaronbauman](https://avatars.githubusercontent.com/u/508451?v=4)](https://github.com/aaronbauman "aaronbauman (1 commits)")[![jraviotta](https://avatars.githubusercontent.com/u/3618365?v=4)](https://github.com/jraviotta "jraviotta (1 commits)")[![p51i](https://avatars.githubusercontent.com/u/195925935?v=4)](https://github.com/p51i "p51i (1 commits)")[![petemcw](https://avatars.githubusercontent.com/u/131408?v=4)](https://github.com/petemcw "petemcw (1 commits)")[![rvtraveller](https://avatars.githubusercontent.com/u/1789427?v=4)](https://github.com/rvtraveller "rvtraveller (1 commits)")[![johnennewdeeson](https://avatars.githubusercontent.com/u/1913439?v=4)](https://github.com/johnennewdeeson "johnennewdeeson (1 commits)")[![ataylorme](https://avatars.githubusercontent.com/u/2133004?v=4)](https://github.com/ataylorme "ataylorme (1 commits)")[![benjifisher](https://avatars.githubusercontent.com/u/1170799?v=4)](https://github.com/benjifisher "benjifisher (1 commits)")[![deviantintegral](https://avatars.githubusercontent.com/u/255023?v=4)](https://github.com/deviantintegral "deviantintegral (1 commits)")[![dustinleblanc](https://avatars.githubusercontent.com/u/3948808?v=4)](https://github.com/dustinleblanc "dustinleblanc (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ui-research-lightning-drops-8-composer/health.svg)

```
[![Health](https://phpackages.com/badges/ui-research-lightning-drops-8-composer/health.svg)](https://phpackages.com/packages/ui-research-lightning-drops-8-composer)
```

PHPackages © 2026

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