PHPackages                             sminnee/composer-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sminnee/composer-diff

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

sminnee/composer-diff
=====================

Display diffs of composer projects and all their modules

0.0.5(11y ago)172074[1 issues](https://github.com/sminnee/composer-diff/issues)[3 PRs](https://github.com/sminnee/composer-diff/pulls)PHP

Since Jun 10Pushed 9y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (6)Used By (0)

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

[](#composer-diff)

`composer-diff` performs a `git diff` command on your project.

Unlike `git diff`, however, it will also return differences in any packages marked in your composer.lock file

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

[](#installation)

A good way to install CLI tools from composer is 'composer global require':

```
composer global require sminnee/composer-diff

```

Then, if you haven't already, add `~/.composer/vendor/bin` to your shell path.

The binary will be installed to ~/.composer/vendor/bin/composer-diff.

Usage
-----

[](#usage)

You can see the changes themselves this way:

```
composer-diff diff sha-from [sha-to]

```

- `sha-from` is the SHA of your project to use as the starting point
- `sha-to` is the SHA of your project to use as the end point. If ommitted, the current check-out of code is used

If you wish to see the log messages instead of the changes, use this command:

```
composer-diff log sha-from [sha-to]

```

Limitations
-----------

[](#limitations)

- Doesn't work if a package isn't checked out in your project as a git repo
- Output not the best

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

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

5

Last Release

4085d ago

### Community

Maintainers

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

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

### Embed Badge

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

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

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k39.6k](/packages/matomo-matomo)[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.5k199.6M3.4k](/packages/composer-composer)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k257.0M27.9k](/packages/friendsofphp-php-cs-fixer)[spatie/laravel-export

Create a static site bundle from a Laravel app

679153.2k7](/packages/spatie-laravel-export)[dagger/dagger

Dagger PHP SDK

271.4k](/packages/dagger-dagger)[lion/bundle

Lion-framework configuration and initialization package

132.4k5](/packages/lion-bundle)

PHPackages © 2026

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