我试图将此测试扩展更新到我的项目但是我遇到了错误:
adz@adz:/var/www/site$ php composer.phar update
Loading composer repositories with package information Updating
dependencies (including require-dev)
Nothing to install or update
我也试过
adz@adz:/var/www/site$ php composer.phar require adz/yii2-featureditems:dev-master
./composer.json has been updated
Package "adz/yii2-featureditems" listed for update is not installed.
Ignoring.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
这是我的composer.json
文件
{
"repositories":[
{
"type": "git",
"url": "https://github.com/adzayko/featured-items.git"
}
],
"require": {
"adz/yii2-featureditems": "dev-master"
}
}