1.通过composer 安装高级版
C:wampwwwyii>composer create-project --prefer-dist yiisoft/yii2-app-advanced advanced
2. 进入 advanced 目录中 执行 init 初始化
- C:wampwwwyii>cd advanced
- C:wampwwwyiiadvanced>init
- Yii Application Initialization Tool v1.0
- Which environment do you want the application to be initialized in?
- [0] Development
- [1] Production
- Your choice [0-1, or “q” to quit] 0