使用中国镜像安装composer require yidashi/yii2-uploader:”*”报一下错误
[Composer\Repository\InvalidRepositoryException]
No valid bower.json was found in any branch or tag of https://github.com/twbs/bootstrap.git, could not load a package from it.
走国内镜像试试
https://www.oschina.net/news/84148/composer-chinese-image-released
网络问题吧?????
如果没 的话,一般在国内访问速度都不是很快的哦,可以用下面的代码把composer的源切到国内来