Find the exact version of a Composer package

Created on Mar 16, 2020 by 

  1. copycomposer show package/name


description

$ composer show

Will show all the currently installed packages and their version information.

This was shown in previous versions of Composer only when using the now-deprecated -i option.

To see more details, specify the name of the package as well:

$ composer show monolog/monolog

That will show many things, including commit MD5 hash, source URL, license type, etc.

Source: https://stackoverflow.com/a/21139428

composer


name

composer - Composer command line interface

synopsis

composer command [options] [arguments]