PHPackages                             enomotodev/composer-lock-diff - 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. enomotodev/composer-lock-diff

ActiveLibrary

enomotodev/composer-lock-diff
=============================

See what has changed after a composer update.

1.5.2(6y ago)140.0k↓17.7%1MITPHP

Since Nov 15Pushed 6y ago1 watchersCompare

[ Source](https://github.com/enomotodev/composer-lock-diff)[ Packagist](https://packagist.org/packages/enomotodev/composer-lock-diff)[ RSS](/packages/enomotodev-composer-lock-diff/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (8)Used By (1)

composer-lock-diff
==================

[](#composer-lock-diff)

See what packages have changed after you run `composer update` by comparing composer.lock to the the git HEAD.

Requires:

- php &gt;= 5.3

There are no other dependencies.

Install
-------

[](#install)

```
composer global require enomotodev/composer-lock-diff
```

Or just copy the 'composer-lock-diff' to `/usr/local/bin`.

Usage
=====

[](#usage)

```
composer update
# don't commit yet!
composer-lock-diff
```

Or from vim, to insert the output into the commit message, type `:r!composer-lock-diff`.

### Options

[](#options)

- `--path, -p`: Base to with which to prefix paths. Default "./"
- `--from`: The file^, git ref, or git ref with filename to compare from (HEAD:composer.lock)
- `--to`: The file^, git ref, or git ref with filename to compare to (composer.lock)
- `--md`: Markdown table output
- `--json`: json output
- `--pretty`: pretty output when combined with `--json` (&gt;=5.4 only)
- `--no-links`: Don't include Compare links in plain text or any links in markdown
- `--only-prod`: Only include changes from `packages`
- `--only-dev`: Only include changes from `packages-dev`

^ File includes anything available as a [protocol stream wrapper](http://php.net/manual/en/wrappers.php) such as URLs.

Example Plain Text Table Output
===============================

[](#example-plain-text-table-output)

```
+--------------------+-------+--------+------------------------------------------------------------------+-------------------------------------------+
| Production Changes | From  | To     | Compare                                                          | Source                                    |
+--------------------+-------+--------+------------------------------------------------------------------+-------------------------------------------+
| guzzlehttp/guzzle  | 6.2.0 | 6.3.0  | https://github.com/guzzle/guzzle/compare/6.2.0...6.3.0           | https://github.com/guzzle/guzzle          |
| hashids/hashids    | 2.0.0 | 2.0.4  | https://github.com/ivanakimov/hashids.php/compare/2.0.0...2.0.4  | https://github.com/ivanakimov/hashids.php |
| league/flysystem   | 1.0.0 | 1.0.42 | https://github.com/thephpleague/flysystem/compare/1.0.0...1.0.42 | https://github.com/thephpleague/flysystem |
| monolog/monolog    | NEW   | 1.21.0 |                                                                  | https://github.com/Seldaek/monolog        |
+--------------------+-------+--------+------------------------------------------------------------------+-------------------------------------------+

+------------------+--------+---------+---------+-------------------------------------+
| Dev Changes      | From   | To      | Compare | Source                              |
+------------------+--------+---------+---------+-------------------------------------+
| phpspec/php-diff | v1.0.2 | REMOVED |         | https://github.com/phpspec/php-diff |
+------------------+--------+---------+---------+-------------------------------------+

```

Markdown Table
==============

[](#markdown-table)

### Raw

[](#raw)

```
| Production Changes                                            | From  | To     | Compare                                                                 |
|---------------------------------------------------------------|-------|--------|-------------------------------------------------------------------------|
| [guzzlehttp/guzzle](https://github.com/guzzle/guzzle)         | 6.2.0 | 6.3.0  | [...](https://github.com/guzzle/guzzle/compare/6.2.0...6.3.0)           |
| [hashids/hashids](https://github.com/ivanakimov/hashids.php)  | 2.0.0 | 2.0.4  | [...](https://github.com/ivanakimov/hashids.php/compare/2.0.0...2.0.4)  |
| [league/flysystem](https://github.com/thephpleague/flysystem) | 1.0.0 | 1.0.42 | [...](https://github.com/thephpleague/flysystem/compare/1.0.0...1.0.42) |
| [monolog/monolog](https://github.com/Seldaek/monolog)         | NEW   | 1.21.0 |                                                                         |

| Dev Changes                                             | From   | To      | Compare |
|---------------------------------------------------------|--------|---------|---------|
| [phpspec/php-diff](https://github.com/phpspec/php-diff) | v1.0.2 | REMOVED |         |

```

### Rendered

[](#rendered)

Production ChangesFromToCompare[guzzlehttp/guzzle](https://github.com/guzzle/guzzle)6.2.06.3.0[...](https://github.com/guzzle/guzzle/compare/6.2.0...6.3.0)[hashids/hashids](https://github.com/ivanakimov/hashids.php)2.0.02.0.4[...](https://github.com/ivanakimov/hashids.php/compare/2.0.0...2.0.4)[league/flysystem](https://github.com/thephpleague/flysystem)1.0.01.0.42[...](https://github.com/thephpleague/flysystem/compare/1.0.0...1.0.42)[monolog/monolog](https://github.com/Seldaek/monolog)NEW1.21.0Dev ChangesFromToCompare[phpspec/php-diff](https://github.com/phpspec/php-diff)v1.0.2REMOVED

###  Health Score

37

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 64.3% 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 ~169 days

Recently: every ~145 days

Total

7

Last Release

2445d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/255b3783a324b37c24b23bcc623ba3fb28295c436cf73c41ec88beeb53cad43e?d=identicon)[enomotodev](/maintainers/enomotodev)

---

Top Contributors

[![djonas-noip](https://avatars.githubusercontent.com/u/182177303?v=4)](https://github.com/djonas-noip "djonas-noip (27 commits)")[![davidrjonas](https://avatars.githubusercontent.com/u/6118591?v=4)](https://github.com/davidrjonas "davidrjonas (10 commits)")[![enomotodev](https://avatars.githubusercontent.com/u/14838165?v=4)](https://github.com/enomotodev "enomotodev (3 commits)")[![delamart](https://avatars.githubusercontent.com/u/906515?v=4)](https://github.com/delamart "delamart (1 commits)")[![ihor-sviziev](https://avatars.githubusercontent.com/u/1873745?v=4)](https://github.com/ihor-sviziev "ihor-sviziev (1 commits)")

### Embed Badge

![Health badge](/badges/enomotodev-composer-lock-diff/health.svg)

```
[![Health](https://phpackages.com/badges/enomotodev-composer-lock-diff/health.svg)](https://phpackages.com/packages/enomotodev-composer-lock-diff)
```

PHPackages © 2026

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