我使用了这个链接,但对我来说不起作用......
{
"name": "vendor/work-team-betting",
"description": "Team betting webapplication for an event.",
"type": "webapplication",
"authors": [
{
}
],
"config": {
"vendor-dir": "application/vendor"
},
"extra": {
"installer-paths": {
"application/framework/{$name}": ["yiisoft/yii"]
}
},
"require": {
"composer/installers": "~1.0",
"yiisoft/yii": "1.1.14"
}
}
我使用这个 composer.json,但是在安装之后,composer 并没有将 yiisoft/yii 移动到我的 application/framework/ 目录中。任何人都可以帮助我,我做错了什么?:)