Yii2高级版安装
参考:https://github.com/yiisoft/yii2-app-advanced/blob/master/docs/guide-zh-CN/start-installation.md
先composer来个命令:composer create-project --prefer-dist yiisoft/yii2-app-advanced yii-application
然后配置服务器的域名啥的,然后init.bat,然后
composer config repo.packagist composer https://packagist.phpcomposer.com
修改composer的配置,底部
"repositories": {
"packagist": {
"type": "composer",
"url": "https://packagist.phpcomposer.com"
}
}
然后进入composer.json的根目录执行composer update
(好了的项目不要轻易这个操作),ok了