【已解决】七牛phpsdk怎么无法下载安装?

通过curl -sS http://install.phpcomposer.com/installer | php这条命令安装了composer,执行php composer.phar require qiniu/php-sdk命令,怎么没反应啊。

D:\wamp\www\ACPHP\compo>php composer.phar require qiniu/php-sdk
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug

大约5分钟之后:

D:\wamp\www\ACPHP\compo>php composer.phar require qiniu/php-sdk
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug

[Composer\Repository\RepositorySecurityException]
The contents of http://packagist.org/p/provider-2013%24ebbc851bfc30654cd54df607e51500a43b7acbf4a21fd7eea33788153f4d177c.json do not match its signature. This should
indicate a man-in-the-middle attack. Try running composer again and report this if you think it is a mistake.

require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--sort-packages]
[-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [<packages>]...

D:\wamp\www\ACPHP\compo>

最新状态,已放弃composer【2016-01-06 14:33】
直接下载七牛的composer包【2016-01-06 14:33】

阅读 3.1k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进