dev-master
9999999-devDisplay diffs of composer projects and all their modules
The Requires
by Sam Minnee
Display diffs of composer projects and all their modules
composer-diff
performs a git diff
command on your project., (*1)
Unlike git diff
, however, it will also return differences in any packages marked in your composer.lock file, (*2)
A good way to install CLI tools from composer is 'composer global require':, (*3)
composer global require sminnee/composer-diff
Then, if you haven't already, add ~/.composer/vendor/bin
to your shell path., (*4)
The binary will be installed to ~/.composer/vendor/bin/composer-diff., (*5)
You can see the changes themselves this way:, (*6)
composer-diff diff sha-from [sha-to]
sha-from
is the SHA of your project to use as the starting pointsha-to
is the SHA of your project to use as the end point. If ommitted, the current check-out of code is usedIf you wish to see the log messages instead of the changes, use this command:, (*7)
composer-diff log sha-from [sha-to]
Display diffs of composer projects and all their modules