【没解决】怎么通过php连接七牛?

cups_book 发布于 2016/01/06 09:41
阅读 503
收藏 0
D:\wamp\www\ACPHP>mkdir compo
D:\wamp\www\ACPHP>cd compo
D:\wamp\www\ACPHP\compo>curl -sS http://install.phpcomposer.com/installer | php
#!/usr/bin/env php
All settings correct for using Composer
Downloading...
Composer successfully installed to: D:\wamp\www\ACPHP\compo\composer.phar
Use it: php composer.phar
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>

第2条命令(php composer.phar require qiniu/php-sdk)应该怎么改进?

加载中
0
cups_book
cups_book
似乎有点难?
0
cups_book
cups_book
http://developer.qiniu.com/ 一直自动跳转到 http://www.qiniu.com/ 
没法看文档了。。。
0
YanXI
YanXI

网路问题 

直接下载 Composer 安装包

鉴于某些原因, 国内的用户使用 Composer 下载依赖库比较慢,开发者也可以直接下载我们准备好的符合 Composer 规范的 vendor 压缩包并在本地解压。解压后的内容和使用 Composer 方式获取到的内容完全一致,之后的使用方式也一致。

压缩包下载地址:http://devtools.qiniu.io/vendor.tar.gz

返回顶部
顶部