PHPackages                             kanopi/pantheon-headless-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. [API Development](/categories/api)
4. /
5. kanopi/pantheon-headless-lightning

AbandonedArchivedDrupal-profile[API Development](/categories/api)

kanopi/pantheon-headless-lightning
==================================

Drupal Lightning as a backend for fully decoupled applications.

1.1.0(7y ago)018GPL-2.0-or-laterPHP

Since Feb 8Pushed 7y ago5 watchersCompare

[ Source](https://github.com/kanopi/pantheon-lightning-headless)[ Packagist](https://packagist.org/packages/kanopi/pantheon-headless-lightning)[ RSS](/packages/kanopi-pantheon-headless-lightning/feed)WikiDiscussions master Synced today

READMEChangelog (8)Dependencies (24)Versions (10)Used By (0)

Pantheon - Headless Lightning
=============================

[](#pantheon---headless-lightning)

This is a "fork'ish" version of [Acquia's Headless Lightning](https://github.com/acquia/headless-lightning) designed to be installed on Pantheon with their build tools process.

### Rational for "forking"

[](#rational-for-forking)

Headless Lightning gives us a basic headless setup with some opiniated defaults out fo the box which is great.

Pantheon composer based build tools gives us a composer based development process with CI and Github hosting which is also great and makes it super easy to setup.

This project just wraps the two together. We have also added some basic docksal setup since we know we're hosted on Pantheon.

We have also tweaked the CircleCI tests to also work on Docksal so you can run the same tests locally as will be run on CircleCI.

> Just a heads up there may be some bits from the Acquia version of this repo hanging around if you're wondering why something is where it is and it doesn't make sense.

Installing on Pantheon
----------------------

[](#installing-on-pantheon)

This assumes you have already installed the [Build Tools](https://pantheon.io/docs/guides/build-tools/) dependencies and have your [CircleCI and Github tokens](https://pantheon.io/docs/guides/build-tools/#access-tokens-optional) ready to go.

To spin up your new Pantheon site, Github repo, CircleCI integration run.

`terminus build:project:create kanopi/pantheon-headless-lightning MY-NEW-PROJECT-NAME`

Docksal setup with Pantheon
---------------------------

[](#docksal-setup-with-pantheon)

Since this is a starter project you will need to edit some things and commit them to them to the Github repo that is created for your project.

In `.docksal/docksal.env` you need to update:

- `TERMINUS_SITE` and `TERMINUS_ENVIRONMENT` variables to be the Pantheon project specific ones.
- `VIRTUAL_HOST` to be project specific.

The `TERMINUS_ENVIRONMENT` will be the default DB download location and can probably be left at 'dev' initially. This should be updated to whatever environment is considered canonical though.

Local development
-----------------

[](#local-development)

As a developer working on this project you'll need to **copy** `.docksal/docksal-local.env.example` to `.docksal/docksal-local.env`.

Within that file you'll need to put your Terminus machine token for this project in. Machine tokens can be created in your [Pantheon account page](https://dashboard.pantheon.io/users/#account/tokens/). Once you have the machine token in you will be able to run terminus commands against Pantheon within Docksal, which is what is used to download the DB.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 70.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 ~0 days

Total

9

Last Release

2647d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bf9dca5c46910be861bb00920034637b5a36a1f6277413be6817a50a1ce6fc74?d=identicon)[kanopi\_studios](/maintainers/kanopi_studios)

---

Top Contributors

[![balsama](https://avatars.githubusercontent.com/u/1536654?v=4)](https://github.com/balsama "balsama (54 commits)")[![paulsheldrake](https://avatars.githubusercontent.com/u/1062456?v=4)](https://github.com/paulsheldrake "paulsheldrake (19 commits)")[![phenaproxima](https://avatars.githubusercontent.com/u/4504530?v=4)](https://github.com/phenaproxima "phenaproxima (3 commits)")[![danepowell](https://avatars.githubusercontent.com/u/1984514?v=4)](https://github.com/danepowell "danepowell (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kanopi-pantheon-headless-lightning/health.svg)

```
[![Health](https://phpackages.com/badges/kanopi-pantheon-headless-lightning/health.svg)](https://phpackages.com/packages/kanopi-pantheon-headless-lightning)
```

###  Alternatives

[acquia/reservoir

A backend for your frontend. Powered by Drupal.

2431.7k1](/packages/acquia-reservoir)[bacularis/bacularis-app

Bacularis - The Bacula web interface

224.2k](/packages/bacularis-bacularis-app)[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)
