PHPackages                             pantheon-systems/terminus-composer-plugin - 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. [CLI &amp; Console](/categories/cli)
4. /
5. pantheon-systems/terminus-composer-plugin

ActiveTerminus-plugin[CLI &amp; Console](/categories/cli)

pantheon-systems/terminus-composer-plugin
=========================================

Composer - A Terminus plugin for running Composer commands on a Pantheon site

1.2.0(1y ago)16131.5k↓15.2%8[5 issues](https://github.com/pantheon-systems/terminus-composer-plugin/issues)[4 PRs](https://github.com/pantheon-systems/terminus-composer-plugin/pulls)MITShellCI passing

Since Dec 16Pushed 2w ago11 watchersCompare

[ Source](https://github.com/pantheon-systems/terminus-composer-plugin)[ Packagist](https://packagist.org/packages/pantheon-systems/terminus-composer-plugin)[ RSS](/packages/pantheon-systems-terminus-composer-plugin/feed)WikiDiscussions 1.x Synced 2d ago

READMEChangelogDependenciesVersions (19)Used By (0)

Terminus Composer Plugin
========================

[](#terminus-composer-plugin)

[![CircleCI](https://camo.githubusercontent.com/e190b5802b079d5d3ffaa00f4f976e2805df5f464cd51361bedc1e71f79a5b37/68747470733a2f2f636972636c6563692e636f6d2f67682f70616e7468656f6e2d73797374656d732f7465726d696e75732d636f6d706f7365722d706c7567696e2e7376673f7374796c653d736869656c64)](https://circleci.com/gh/pantheon-systems/terminus-composer-plugin)[![Actively Maintained](https://camo.githubusercontent.com/2ae5ff81f271fb028d720adee6b3595770166f3707a4705a4a2a3b71c332b249/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50616e7468656f6e2d4163746976656c795f4d61696e7461696e65642d79656c6c6f773f6c6f676f3d70616e7468656f6e26636f6c6f723d464644433238)](https://pantheon.io/docs/oss-support-levels#actively-maintained-support)

Terminus Plugin to run [Composer](https://getcomposer.org/) commands on [Pantheon](https://www.pantheon.io) sites.

Adds a command 'composer' to Terminus 1.x, 2.x or 3.x which you can use just like 'drush' or 'wp'.

This project is a simplified version of the original [Terminus Composer Plugin](https://github.com/rvtraveller/terminus-composer) by Brian Thompson.

Configuration
-------------

[](#configuration)

This plugin should only be used with sites that are managed by Composer. The recommended upstreams are:

- [WordPress](https://github.com/pantheon-upstreams/wordpress-project)
- [Drupal 9](https://github.com/pantheon-upstreams/drupal-project)

This plugin may also be used with "Build Tools" and "No CI Workflow" sites that were started with one of the following template projects:

- WordPress: [Advanced WordPress on Pantheon](https://github.com/ataylorme/Advanced-WordPress-on-Pantheon)
- Drupal 8: [Example Drops-8 Composer](https://github.com/pantheon-systems/example-drops-8-composer)
- Drupal 7: [Example Drops-7 Composer](https://github.com/pantheon-systems/example-drops-7-composer)

Using Composer to manage standard sites on Pantheon not started with these upstreams (or a similar variant thereof) is not recommended. Using with Drupal 8.8 on the [drops-8](https://github.com/pantheon-systems/drops-8) will produce a working site, but will make future dashboard updates difficult. Using with sites based on the [Standard non-Composer Pantheon WordPress upstream](https://github.com/pantheon-systems/wordpress), or Drupal versions prior to 8.8 is likely to break the site.

Examples
--------

[](#examples)

- `terminus composer my-script`
- `terminus composer my-site.dev -- config repositories.drupal composer https://packages.drupal.org/8`
- `terminus composer my-site.dev -- require drupal/media`
- `terminus composer my-site.dev -- update`

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

[](#installation)

### Installing via Terminus 3

[](#installing-via-terminus-3)

`terminus self:plugin:install pantheon-systems/terminus-composer-plugin`

On older versions of Terminus:

```
mkdir -p ~/.terminus/plugins
composer create-project --no-dev -d ~/.terminus/plugins pantheon-systems/terminus-composer-plugin:~1

```

Help
----

[](#help)

Run `terminus help composer` for help.

###  Health Score

55

—

FairBetter than 97% of packages

Maintenance68

Regular maintenance activity

Popularity42

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~682 days

Recently: every ~853 days

Total

6

Last Release

73d ago

Major Versions

0.x-dev → 1.0.02016-12-16

### 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 (20 commits)")[![kporras07](https://avatars.githubusercontent.com/u/2217820?v=4)](https://github.com/kporras07 "kporras07 (7 commits)")[![rvtraveller](https://avatars.githubusercontent.com/u/1789427?v=4)](https://github.com/rvtraveller "rvtraveller (4 commits)")[![namespacebrian](https://avatars.githubusercontent.com/u/87093053?v=4)](https://github.com/namespacebrian "namespacebrian (4 commits)")[![rwagner00](https://avatars.githubusercontent.com/u/1789035?v=4)](https://github.com/rwagner00 "rwagner00 (3 commits)")[![g1a-pantheon](https://avatars.githubusercontent.com/u/290197609?v=4)](https://github.com/g1a-pantheon "g1a-pantheon (2 commits)")[![mbaynton](https://avatars.githubusercontent.com/u/3026002?v=4)](https://github.com/mbaynton "mbaynton (2 commits)")[![uberhacker](https://avatars.githubusercontent.com/u/387945?v=4)](https://github.com/uberhacker "uberhacker (1 commits)")[![EdwardAngert](https://avatars.githubusercontent.com/u/17991901?v=4)](https://github.com/EdwardAngert "EdwardAngert (1 commits)")[![lowlostrong](https://avatars.githubusercontent.com/u/239265111?v=4)](https://github.com/lowlostrong "lowlostrong (1 commits)")[![allenfear](https://avatars.githubusercontent.com/u/1094218?v=4)](https://github.com/allenfear "allenfear (1 commits)")

### Embed Badge

![Health badge](/badges/pantheon-systems-terminus-composer-plugin/health.svg)

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

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71470.5k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20720.9k21](/packages/winbox-args)[tomatophp/filament-artisan

Simple but yet powerful library for running some artisan commands for FilamentPHP

3275.4k1](/packages/tomatophp-filament-artisan)[thettler/laravel-console-toolkit

This Package provides some usefully console features like the attribute syntax for arguments and options, validation, auto ask and casting.

324.1k](/packages/thettler-laravel-console-toolkit)

PHPackages © 2026

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