本文共 208 字,大约阅读时间需要 1 分钟。
有时候需要知道当前 vendor 下下载的各个包的版本号,可以打开 composer.lock 来查看,也可以使用 compoer 命令。
查看全部包composer show -i查看指定包composer show guzzlehttp/guzzle -i查看帮助composer show -h下载指定版本包,也是升级和降级的命令composer require guzzlehttp/guzzle 6.5.2
转载地址:http://xnaui.baihongyu.com/