php版本必须是php5.4以上、记得配置php环境变量
1、下载https://github.com/yiisoft/yii2-app-advanced
2、php -r "readfile('https://getcomposer.org/installer');" | php
3、php composer.phar global require "fxp/composer-asset-plugin:~1.1.1"
4、php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-advanced ../yii2test
5、cmd init命令 选0 y