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

后端 未结 8 457
温柔的废话
温柔的废话 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:32

    List installed dependencies:

    • Flat: composer show -i
    • Tree: composer show -i -t

    -i short for --installed.

    -t short for --tree.

    ref: https://getcomposer.org/doc/03-cli.md#show

提交回复
热议问题