Between Command
Compare dependency changes between two commits, branches, or tags.

Usage
whatsdiff between <from> <to> [options]
Arguments
<from>- Starting commit<to>- Ending commit
Examples
Compare Between Commits
whatsdiff between abc123 def456
Example Output
$ whatsdiff between v1.0.0 v2.0.0
composer.lock between v1.0.0 and v2.0.0
↑↑ laravel/framework v11.0.0 → v12.0.0 (15 releases)
↑↑ symfony/console v6.4.0 → v7.0.0 (8 releases)
+ laravel/sanctum ^4.0
+ livewire/livewire ^3.0
× deprecated/package ^1.0
What It Does
The between command:
- Checks out the
<from>reference and reads the lock files - Checks out the
<to>reference and reads the lock files - Compares the two states
- Shows all packages that changed between the two points
This is particularly useful for:
- Code reviews: see what dependencies changed in a PR
- Release notes: understand dependency updates between versions
- Debugging: identify what dependency have changed between two states