tyua07 / laravel-upload

laravel 5 上传包支持 七牛、又拍云、oss、cos。完成使用官方推荐的extend方式扩展实现!
MIT License
123 stars 33 forks source link

执行composer require "yangyifan/upload:dev-master"报错 #3

Closed jackwiy closed 7 years ago

jackwiy commented 8 years ago

你好,yangyifan,

框架版本: "laravel/framework": "5.2.*",

执行下面命令: composer require "yangyifan/upload:dev-master"

报错误信息: Problem 1

如何处理这种问题,期待你的回复!

谢谢! Jack.Wang

jackwiy commented 8 years ago

解决方法:

将composer.json的国内镜像地址去掉

"repositories": { "packagist": { "type": "composer", "url": "https://packagist.phpcomposer.com" }

再次执行:composer require "yangyifan/upload:dev-master"

然后执行:composer require qiniu/php-sdk