• 修改默认的安装目录

在composer.json中添加如下内容

1
2
3
4
5
6
{
"config":
{
"vendor-dir": "yii"
}
}