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了

posted @ 2018-06-21 16:18  蜗牛使劲冲  阅读(2)  评论(0编辑  收藏  举报  来源