composer -更新composer

自己做的包,有时候需要添加内容 ,之前项目已经composer的 想更新到最新

这里我加了一个test2方法
composer -更新composer_第1张图片

提交github 提交新版本

git add .
git commit -m 'update'
git push origin master
git tag v1.0.1
git push --tag

稍等三五分钟 ,就可以在老项目里面composer update 更新了

composer -更新composer_第2张图片

你可能感兴趣的:(php)