oubo 48f3bb752a v4.1.3 2025-04-01 2 月之前
..
.github 48f3bb752a v4.1.3 2025-04-01 2 月之前
assets 48f3bb752a v4.1.3 2025-04-01 2 月之前
base 48f3bb752a v4.1.3 2025-04-01 2 月之前
behaviors 48f3bb752a v4.1.3 2025-04-01 2 月之前
caching 48f3bb752a v4.1.3 2025-04-01 2 月之前
captcha 48f3bb752a v4.1.3 2025-04-01 2 月之前
console 48f3bb752a v4.1.3 2025-04-01 2 月之前
data 48f3bb752a v4.1.3 2025-04-01 2 月之前
db 48f3bb752a v4.1.3 2025-04-01 2 月之前
di 48f3bb752a v4.1.3 2025-04-01 2 月之前
filters 48f3bb752a v4.1.3 2025-04-01 2 月之前
grid 48f3bb752a v4.1.3 2025-04-01 2 月之前
helpers 48f3bb752a v4.1.3 2025-04-01 2 月之前
i18n 48f3bb752a v4.1.3 2025-04-01 2 月之前
log 48f3bb752a v4.1.3 2025-04-01 2 月之前
mail 48f3bb752a v4.1.3 2025-04-01 2 月之前
messages 48f3bb752a v4.1.3 2025-04-01 2 月之前
mutex 48f3bb752a v4.1.3 2025-04-01 2 月之前
rbac 48f3bb752a v4.1.3 2025-04-01 2 月之前
requirements 48f3bb752a v4.1.3 2025-04-01 2 月之前
rest 48f3bb752a v4.1.3 2025-04-01 2 月之前
test 48f3bb752a v4.1.3 2025-04-01 2 月之前
validators 48f3bb752a v4.1.3 2025-04-01 2 月之前
views 48f3bb752a v4.1.3 2025-04-01 2 月之前
web 48f3bb752a v4.1.3 2025-04-01 2 月之前
widgets 48f3bb752a v4.1.3 2025-04-01 2 月之前
.gitignore 48f3bb752a v4.1.3 2025-04-01 2 月之前
.htaccess 48f3bb752a v4.1.3 2025-04-01 2 月之前
.phpstorm.meta.php 48f3bb752a v4.1.3 2025-04-01 2 月之前
BaseYii.php 48f3bb752a v4.1.3 2025-04-01 2 月之前
CHANGELOG.md 48f3bb752a v4.1.3 2025-04-01 2 月之前
LICENSE.md 48f3bb752a v4.1.3 2025-04-01 2 月之前
README.md 48f3bb752a v4.1.3 2025-04-01 2 月之前
UPGRADE.md 48f3bb752a v4.1.3 2025-04-01 2 月之前
Yii.php 48f3bb752a v4.1.3 2025-04-01 2 月之前
classes.php 48f3bb752a v4.1.3 2025-04-01 2 月之前
composer.json 48f3bb752a v4.1.3 2025-04-01 2 月之前
yii 48f3bb752a v4.1.3 2025-04-01 2 月之前
yii.bat 48f3bb752a v4.1.3 2025-04-01 2 月之前

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.