Yii PHP Framework Version 2

Fund package maintenance!
Open Collective

Installs: 22 711 887

Dependents: 12 974

Suggesters: 5

Security: 11

Stars: 237

Watchers: 54

Forks: 136

2.0.51 2024-07-18 19:50 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.