joachim-n/composer-manifest

There is no license information available for the latest version (1.1.5) of this package.

Installs: 233 358

Dependents: 0

Suggesters: 0

Security: 0

Stars: 31

Watchers: 3

Forks: 7

Open Issues: 3

Type:composer-plugin

1.1.5 2022-08-09 15:38 UTC

This package is auto-updated.

Last update: 2024-03-29 22:10:30 UTC


README

A Composer plugin which maintains a simple YAML file listing all installed packages with their version numbers.

Why?

When Composer performs an install or an update, the output tells you what has been changed. But once that output is gone, it's hard to reconstitute it, as a diff of the changes to the composer.lock file is hard to read.

This plugin writes a YAML file listing each package on one line, so a diff or log can show you exactly what has been changed.

Usage

Install the plugin.

composer require joachim-n/composer-manifest

Whenever packages are installed, updated, or removed, the plugin will update the composer-manifest.yaml file in your project root. You should commit this to version control at the same time as you commit changes to composer.json and composer.lock to keep a history of changes.

Integrations

With Renovate, use the fileFilters config option to ensure the manifest file is committed by the renovate bot.