Php 将Codeception over Composer安装到Yii2

Php 将Codeception over Composer安装到Yii2,php,composer-php,codeception,Php,Composer Php,Codeception,我的Yii2项目的安装Codeception有问题 1) 已将composer下载到Yii2项目: curl -sS https://getcomposer.org/installer | php 2) 正在尝试安装Codeception: php composer.phar require "codeception/codeception:*" 错误: Your requirements could not be resolved to an installable set of pack

我的Yii2项目的安装Codeception有问题

1) 已将composer下载到Yii2项目:

curl -sS https://getcomposer.org/installer | php
2) 正在尝试安装Codeception:

php composer.phar require "codeception/codeception:*"
错误:

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

  Problem 1
    - yiisoft/yii2 2.0.2 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
    - yiisoft/yii2 2.0.2 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
    - Installation request for yiisoft/yii2 == 2.0.2.0 -> satisfiable by yiisoft/yii2[2.0.2].

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Installation failed, reverting ./composer.json to its original content.
无法将您的需求解析为一组可安装的软件包。
问题1
-yiisoft/yii2 2.0.2需要bower资产/jquery 2.1.*@stable | 1.11.*@stable->未找到匹配的包。
-yiisoft/yii2 2.0.2需要bower资产/jquery 2.1.*@stable | 1.11.*@stable->未找到匹配的包。
-yiisoft/yii2的安装请求==2.0.2.0->可由yiisoft/yii2[2.0.2]满足。
潜在原因:
-软件包名称中的输入错误
-根据您的最低稳定性设置,该软件包没有足够稳定的版本
有关更多详细信息,请参阅。
阅读了解更多常见问题。
安装失败,将./composer.json还原为其原始内容。
我错过什么了吗?

来自

尝试先删除[供应商文件夹]。fxp插件缓存软件包信息以加快速度,因此不可能在不删除供应商的情况下降级


好的,我在这里找到了一个解决方案,供将来参考。完全可以回答您自己的问题。我已经将你的答案添加为社区维基(也就是说,我不会从中得到任何分数)@topherkanyuga谢谢你),我会铭记在心