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

ActiveTerminus-plugin[Utility &amp; Helpers](/categories/utility)

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

Terminus Composer Logs plugin

1.0.0(2y ago)51.6k↓50%2[1 PRs](https://github.com/pantheon-systems/terminus-composer-logs-plugin/pulls)MITPHPPHP ^8.0

Since Nov 1Pushed 2mo ago5 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (7)Used By (0)

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

[](#terminus-composer-logs-plugin)

[![Github Actions Status](https://github.com/pantheon-systems/terminus-composer-logs-plugin/actions/workflows/ci.yml/badge.svg)](https://github.com/pantheon-systems/terminus-composer-logs-plugin/actions/workflows/ci.yml/badge.svg)[![Early Access](https://camo.githubusercontent.com/fad0df4a45ea3acf1140d2d58284c225b6b31ed724f49a5dfe0cff8781bc3844/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50616e7468656f6e2d4561726c795f4163636573732d79656c6c6f773f6c6f676f3d70616e7468656f6e26636f6c6f723d464644433238)](https://docs.pantheon.io/oss-support-levels#early-access)[![Terminus v3.x Compatible](https://camo.githubusercontent.com/715e88dea3a3486cdd174c810166749c96424eb67d072a342bd4507f89cb4647/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7465726d696e75732d332e782d677265656e2e737667)](https://github.com/pantheon-systems/terminus-composer-logs-plugin/tree/main)

A plugin that shows composer logs via Terminus.

Adds commands 'composer:logs' and 'composer:logs:upstream-update' to Terminus. Learn more about Terminus Plugins in the [Terminus Plugins documentation](https://pantheon.io/docs/terminus/plugins)

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

[](#installation)

To install this plugin using Terminus 3:

```
terminus self:plugin:install terminus-composer-logs-plugin

```

Usage
-----

[](#usage)

### `composer:logs`

[](#composerlogs)

Use this command to get composer logs for a commit (default to latest commit).

Examples:

```
# Get logs for latest commit on given site/env
terminus composer:logs $SITE.$ENV

# Get logs for commit abcdef on given site/env
terminus composer:logs $SITE.$ENV --commit=abcdef

```

Example output:

```
Composer version 2.5.8 2023-06-09 17:13:21
Cache directory does not exist (cache-vcs-dir):
Cache directory does not exist (cache-repo-dir):
Cache directory does not exist (cache-files-dir):
Clearing cache (cache-dir): /home/pantheon-app/.composer/cache
All caches cleared.
Running composer install...
composer --no-interaction --no-progress --prefer-dist --ansi install
No patches supplied.
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating autoload files
91 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Scaffolding files for pantheon-systems/drupal-integrations:
  - Copy [project-root]/.drush-lock-update from assets/drush-lock-update

```

### `composer:logs:upstream-update`

[](#composerlogsupstream-update)

Use this command to get composer logs for an upstream update (apply or check). This is especially useful for debugging failed upstream updates.

Example:

```
# Get logs for latest upstream update workflow
terminus composer:logs:upstream-update $SITE.$ENV

```

Example output:

```
Applying the latest version of your site's upstream...
Using merge strategy: --strategy-option theirs
Using PHP-based Site Repository Tool...
Using '--update-behavior heirloom' option
Site Repository Tool response: {
    "clone": false,
    "pull": true,
    "push": false,
    "logs": [
        "Upstream remote has been added",
        "Updates have been fetched",
        "Updates have been merged",
        "Updates have been committed"
    ],
    "conflicts": "",
    "errormessage": ""
}
Composer version 2.5.8 2023-06-09 17:13:21
Cache directory does not exist (cache-vcs-dir):
Cache directory does not exist (cache-repo-dir):
Cache directory does not exist (cache-files-dir):
Clearing cache (cache-dir): /home/pantheon-app/.composer/cache
All caches cleared.
Running composer update...
composer --no-interaction --no-progress --prefer-dist --ansi update
> DrupalComposerManaged\ComposerScripts::preUpdate
Setting platform.php from '8.1.13' to '8.2.0' to conform to pantheon php version.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - SOME COMPOSER ERROR HERE

We couldn't check for Composer updates because Composer errored

```

Help
----

[](#help)

Run `terminus list composer` for a complete list of available commands. Use terminus help to get help on one command.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance56

Moderate activity, may be stable

Popularity25

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.8% 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

Unknown

Total

1

Last Release

922d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5a89f5f15357797cbd6ec7833a28626478ae3c0ceb5fa1faa8a26d0960584c65?d=identicon)[pantheon-systems](/maintainers/pantheon-systems)

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

---

Top Contributors

[![kporras07](https://avatars.githubusercontent.com/u/2217820?v=4)](https://github.com/kporras07 "kporras07 (27 commits)")[![namespacebrian](https://avatars.githubusercontent.com/u/87093053?v=4)](https://github.com/namespacebrian "namespacebrian (4 commits)")[![alisonjo315](https://avatars.githubusercontent.com/u/2660348?v=4)](https://github.com/alisonjo315 "alisonjo315 (1 commits)")[![greg-1-anderson](https://avatars.githubusercontent.com/u/612191?v=4)](https://github.com/greg-1-anderson "greg-1-anderson (1 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[crazycodr/standard-exceptions

This project is aimed at providing additional standard exceptions to php. Many exceptions that are missing from the SPL are constantly being reproduced in different projects. By providing a package of high-quality, well organised exceptions, it will, in the long run, increase interoperability between projects.

146215.2k7](/packages/crazycodr-standard-exceptions)[symfonycasts/micro-mapper

A tiny, underwhelming data mapper to map one object to another!

82597.6k](/packages/symfonycasts-micro-mapper)[setono/editorjs-php

PHP library for handling data from the EditorJS

4255.2k1](/packages/setono-editorjs-php)[vaimo/composer-changelogs

Provide information about package changes based on changelog files that are bundled with releases; provide tools for generating documentation files from changelog sources

11150.5k10](/packages/vaimo-composer-changelogs)[arandilopez/laravel-feed-parser

Laravel and Lumen rss feed parser

1235.6k](/packages/arandilopez-laravel-feed-parser)

PHPackages © 2026

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