Yii PHP Framework Version 2

Fund package maintenance!
Open Collective

Installs: 21 811 442

Dependents: 12 946

Suggesters: 5

Security: 8

Stars: 237

Watchers: 52

Forks: 141 2023-10-31 15:39 UTC


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.


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.