當我運行下面的命令:作曲卸載其他擴展當我安裝插件
php composer.phar require kop/yii2-scroll-pager "dev-master"
在安裝它消除其它擴展。
截圖:
這裏是完整的Composer.json文件:
{
"name": "yiisoft/yii2-app-advanced",
"description": "Yii 2 Advanced Project Template",
"keywords": ["yii2", "framework", "advanced", "project template"],
"homepage": "http://www.yiiframework.com/",
"type": "project",
"license": "BSD-3-Clause",
"support": {
"issues": "https://github.com/yiisoft/yii2/issues?state=open",
"forum": "http://www.yiiframework.com/forum/",
"wiki": "http://www.yiiframework.com/wiki/",
"irc": "irc://irc.freenode.net/yii",
"source": "https://github.com/yiisoft/yii2"
},
"minimum-stability": "stable",
"require": {
"php": ">=5.4.0",
"yiisoft/yii2": ">=2.0.6",
"yiisoft/yii2-bootstrap": "*",
"yiisoft/yii2-swiftmailer": "*",
"kop/yii2-scroll-pager": "dev-master"
},
"require-dev": {
"yiisoft/yii2-codeception": "*",
"yiisoft/yii2-debug": "*",
"yiisoft/yii2-gii": "*",
"yiisoft/yii2-faker": "*"
},
"config": {
"process-timeout": 1800
},
"extra": {
"asset-installer-paths": {
"npm-asset-library": "vendor/npm",
"bower-asset-library": "vendor/bower"
}
}
}
誰能告訴我如何安裝擴展/插件而不卸載其他插件/擴展。 任何想法!
該屏幕截圖使得難以閱讀正在發生的事情。你可以發表你的'composer.json','composer.lock'和帶有'-vvv'標誌的命令輸出的要點嗎? –
@SteveBuzonas我添加了'composer.json' –