yiisoft / yii2
Yii PHP Framework Version 2
2.0.55
2026-05-09 14:50 UTC
Requires
- php: >=7.4.0
- ext-ctype: *
- ext-mbstring: *
- lib-pcre: *
- bower-asset/inputmask: ^5.0.8
- bower-asset/jquery: 3.7.*@stable | 3.6.*@stable | 3.5.*@stable | 3.4.*@stable | 3.3.*@stable | 3.2.*@stable | 3.1.*@stable | 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable
- bower-asset/punycode: ^2.2
- bower-asset/yii2-pjax: ~2.0.1
- cebe/markdown: ~1.0.0 | ~1.1.0 | ~1.2.0
- ezyang/htmlpurifier: ^4.17
- yiisoft/yii2-composer: ~2.0.4
This package is auto-updated.
Last update: 2026-06-13 00:45:05 UTC
README
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.