0

How can I tell what version of a widget is installed in my project? I'm using the yii2 framework and composer to handle package dependencies.

Is there a way I can check what version of the packages listed in my composer.json file are installed?

Any suggestions are appreciated. Thanks

natral
  • 986
  • 1
  • 18
  • 42
  • 1
    Possible duplicate of [How to get list of all installed packages along with version in composer?](https://stackoverflow.com/questions/15185459/how-to-get-list-of-all-installed-packages-along-with-version-in-composer) – Muhammad Omer Aslam Apr 04 '18 at 17:26
  • 1
    Check inside `composer.lock` - there are details for each installed package including it's version. – lubosdz Apr 04 '18 at 21:18

1 Answers1

1

Is there a way I can check what version of the packages listed in my composer.json file are installed?

Yes, simply use the show option: php composer.phar show

All available options are listet in the docs.

R13e
  • 1,026
  • 7
  • 12