首页 > 代码库 > Yii2 Lesson - 01 Installing the framework and Creating Our First Application

Yii2 Lesson - 01 Installing the framework and Creating Our First Application

```
php composer.phar global require "fxp/composer-asset-plugin:^1.2.0"
php composer.phar create-project yiisoft/yii2-app-basic basic 2.0.12
```

下载模板 安装

修改web/web.php中的 validateKey 即可运行

Yii2 Lesson - 01 Installing the framework and Creating Our First Application