composer 如何更新composer.lock文件

 

安装包标准的方法应该是 require ,或者手动写 compose.json 文件,然后 composer install 。
如果只是需要更新 composer.lock 文件,应该 composer update nothing

原文地址:https://www.cnblogs.com/tyqing/p/13229909.html