KnpLabs / KnpMenu

Menu Library for PHP
https://knplabs.com
MIT License
1.39k stars 190 forks source link

How to check the version installed? #145

Closed Ziiweb closed 10 years ago

Ziiweb commented 10 years ago

Hi,

I have these two lines below in composer.json since it is said here: https://packagist.org/packages/sonata-project/admin-bundle

    "knplabs/knp-menu": ">=1.1.0,<3.0.0",
    "knplabs/knp-menu-bundle": ">=1.1.0,<3.0.0",

how can I konw what knp-menu and knp-menu-bundle exactly version was finally installed?

stof commented 10 years ago

composer show -i <package_name> will show you the installed version of the given package (composer show -i will list all installed packages with their version)