How to get list of all installed packages along with version in composer?

后端 未结 8 447
温柔的废话
温柔的废话 2020-11-28 18:27

I have been working on a project using Symfony 2.1 on my local machine. I have uploaded it to my server but when I try and install the vendor bundles using Composer, I\'m g

8条回答
  •  借酒劲吻你
    2020-11-28 18:41

    If you only want to check version for only one, you can do

    composer show -- twig/twig
    

    Note that only installed packages are shown by default now, and installed option is now deprecated.

提交回复
热议问题