廖泽华 a37f2bbff5 init code 4 years ago
..
assets a37f2bbff5 init code 4 years ago
base a37f2bbff5 init code 4 years ago
behaviors a37f2bbff5 init code 4 years ago
caching a37f2bbff5 init code 4 years ago
captcha a37f2bbff5 init code 4 years ago
console a37f2bbff5 init code 4 years ago
data a37f2bbff5 init code 4 years ago
db a37f2bbff5 init code 4 years ago
di a37f2bbff5 init code 4 years ago
filters a37f2bbff5 init code 4 years ago
grid a37f2bbff5 init code 4 years ago
helpers a37f2bbff5 init code 4 years ago
i18n a37f2bbff5 init code 4 years ago
log a37f2bbff5 init code 4 years ago
mail a37f2bbff5 init code 4 years ago
messages a37f2bbff5 init code 4 years ago
mutex a37f2bbff5 init code 4 years ago
rbac a37f2bbff5 init code 4 years ago
requirements a37f2bbff5 init code 4 years ago
rest a37f2bbff5 init code 4 years ago
test a37f2bbff5 init code 4 years ago
validators a37f2bbff5 init code 4 years ago
views a37f2bbff5 init code 4 years ago
web a37f2bbff5 init code 4 years ago
widgets a37f2bbff5 init code 4 years ago
.gitignore a37f2bbff5 init code 4 years ago
.htaccess a37f2bbff5 init code 4 years ago
BaseYii.php a37f2bbff5 init code 4 years ago
CHANGELOG.md a37f2bbff5 init code 4 years ago
LICENSE.md a37f2bbff5 init code 4 years ago
README.md a37f2bbff5 init code 4 years ago
UPGRADE.md a37f2bbff5 init code 4 years ago
Yii.php a37f2bbff5 init code 4 years ago
classes.php a37f2bbff5 init code 4 years ago
composer.json a37f2bbff5 init code 4 years ago
yii a37f2bbff5 init code 4 years ago
yii.bat a37f2bbff5 init code 4 years ago

README.md

Yii PHP Framework Version 2

This is the core framework code of Yii 2.

This repository is a read-only git subsplit of https://github.com/yiisoft/yii2. Please submit issue reports and pull requests to the main repository. For license information check the LICENSE-file.

Installation

The preferred way to install the Yii framework is through composer.

Refer to Bower and NPM Assets installation to select an asset installation method.

Either run

composer require yiisoft/yii2

or add

"yiisoft/yii2": "~2.0.0",

to the require section of your composer.json.