composer require qiniu/php-sdk 遇到的一些问题

518 阅读1分钟

一、Could not find package qiniu/php-sdk. It was however found via repository search, which indicates a consistency issue with the repository.

解决办法:先切换一下composer镜像

composer config -g repo.packagist composer packagist.org

二、Your requirements could not be resolved to an installable set of packages.

解决办法:直接忽略版本就是了 composer require qiniu/php-sdk --ignore-platform-reqs

这里我就遇到了这2个问题,还有其它的问题请小伙伴继续留言哦!

小伙伴们!这样就完成了哦! QQ学习交流群:842167453 ,欢迎小伙伴加入一起学习。