Curtis Gibby
Curtis Gibby

Reputation: 904

Is there a tool that describes updated dependencies in Composer?

You do a composer update and get a list of a few updates:

- Installing cakephp/cakephp (3.0.12)
- Installing cakephp/debug_kit (3.1.10)
- Installing cakephp/bake (1.0.13)
- Installing aws/aws-sdk-php (3.3.1)
- Updating admad/cakephp-jwt-auth dev-master (9a20b56 => e1bb793)
  Checking out e1bb793e334b11bdaa19fb653f4b89a4544524f5

Being a conscientious developer, you want to know what's new in CakePHP 3.0.11 and Bake 1.0.13 and all of the rest, to make sure that you're not introducing breaking changes into your project (or if so, that you go fix them right away). You start to dig through Packagist, follow its links through to Github, then find the release tags. Sure, it doesn't take too incredibly long for a project that has only a few dependencies, but what about one with a few dozen?

Which leads to my question -- is there a tool that could automate this process, to automatically give you links to the release notes for the new versions that composer just pulled down for you? Or, even better, displays that information right in your command line?

Upvotes: 4

Views: 106

Answers (1)

Jens A. Koch
Jens A. Koch

Reputation: 41747

Yes, there is a Composer Plugin called Composer Changelogs.

It gives a summary of the modified packages with links to release and compare urls.

In other words: after an update or install you get links to the release tag, the release notes and the commits difference between the last and the new release tag for each package.

https://github.com/pyrech/composer-changelogs

Demo

Upvotes: 2

Related Questions