@@ -4,8 +4,7 @@ composer-lock-diff
44See what packages have changed after you run ` composer update ` by comparing composer.lock to the the git HEAD.
55
66Requires:
7- - perl >= 5.14 (probably 5.6 but only tested with 5.14)
8- - jq >= 1.2 (maybe earlier, tested with 1.2 from 2013)
7+ - php >= 5.3
98
109Usage
1110=====
@@ -16,27 +15,36 @@ composer update
1615composer-lock-diff
1716```
1817
19- Example Output
20- ==============
18+ Or from vim, to insert the output into the commit message, type ` :r!composer-lock-diff ` .
19+
20+ ### Options
21+
22+ - ` --json ` : json output
23+ - ` --pretty ` : pretty output when combined with ` --json ` (>=5.4 only)
24+
25+ Example Table Output
26+ ====================
2127
2228```
23- production packages
24- ===================
25- predis/predis dev-master => v1.1.1
26- nikic/php-parser v2.0.0 => v2.1.1
27- paragonie/random_compat 1.1.4 => v1.4.1
28- psr/log 1.0.0 => 1.0.1
29- sentry/sentry 0.22.0 => 1.4.1
30- league/flysystem 1.0.16 => REMOVED
31-
32- dev packages
33- ============
34- behat/mink-selenium2-driver v1.3.0 => v1.3.1
35- symfony/yaml v2.8.1 => v3.1.4
36- doctrine/dbal v2.5.3 => v2.5.5
37- behat/gherkin v4.4.1 => v4.4.4
38- phpspec/phpspec 2.4.0 => 2.5.3
39- henrikbjorn/lurker 1.0.0 => dev-master
40- mockery/mockery 0.9.4 => 0.9.5
41- webmozart/assert NEW => 1.1.0
29+ +---------------------------------------------------------+
30+ | Production Changes | From | To |
31+ +---------------------------------------------------------+
32+ | guzzlehttp/guzzle | 6.2.0 | 6.2.1 |
33+ | hashids/hashids | 1.0.5 | 1.0.6 |
34+ | laravel/framework | v5.1.27 | v5.1.44 |
35+ | league/flysystem | 1.0.16 | 1.0.27 |
36+ | monolog/monolog | 1.17.2 | 1.21.0 |
37+ | symfony/polyfill-mbstring | NEW | v1.2.0 |
38+ +---------------------------------------------------------+
39+ +------------------------------------------------------------+
40+ | Dev Changes | From | To |
41+ +------------------------------------------------------------+
42+ | behat/behat | v3.0.15 | v3.2.1 |
43+ | behat/gherkin | v4.4.1 | v4.4.4 |
44+ | behat/mink | v1.7.0 | v1.7.1 |
45+ | behat/mink-browserkit-driver | v1.3.0 | v1.3.2 |
46+ | behat/mink-extension | v2.1.0 | v2.2 |
47+ | behat/mink-selenium2-driver | v1.3.0 | v1.3.1 |
48+ | mockery/mockery | 0.9.4 | REMOVED |
49+ +------------------------------------------------------------+
4250```
0 commit comments