README.md 440 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
```
15
php composer.phar require --prefer-dist "yiisoft/yii2 *"
Qiang Xue committed
16
```
17

Qiang Xue committed
18
or add
19

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

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