Yii PHP Framework Version 2

Fund package maintenance!
Open Collective

Installs: 20 033 238

Dependents: 12 849

Suggesters: 5

Security: 8

Stars: 232

Watchers: 51

Forks: 141

2.0.49 2023-08-29 13:36 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.