README.md 496 Bytes
Newer Older
Qiang Xue committed
1 2
Yii PHP Framework Version 2
===========================
3

4
This is the core framework code of [Yii 2](https://github.com/yiisoft/yii2#readme).
5 6


Qiang Xue committed
7 8
Installation
------------
9

Carsten Brandt committed
10
The preferred way to install the Yii framework is through [composer](http://getcomposer.org/download/).
11

Qiang Xue committed
12
Either run
13

Qiang Xue committed
14
```
Qiang Xue committed
15
composer global require "fxp/composer-asset-plugin:1.0.0-beta4"
16
composer require --prefer-dist "yiisoft/yii2 *"
Qiang Xue committed
17
```
18

Qiang Xue committed
19
or add
20

Qiang Xue committed
21
```json
22
"yiisoft/yii2": "*",
Qiang Xue committed
23
```
24

Qiang Xue committed
25
to the require section of your composer.json.