Yii PHP Framework Version 2 - Development Package 2015-11-10 13:10 UTC


Thank you for choosing Yii 2 - a modern PHP framework designed for professional Web development.

Yii 2 is a complete rewrite of its previous version Yii 1.1 which is one of the most popular PHP frameworks. Yii 2 inherits the main spirit behind Yii for being simple, fast and highly extensible. Yii 2 requires PHP 5.4 and embraces the best practices and protocols found in modern Web application development.

Latest Stable Version Total Downloads Reference Status Build Status Dependency Status HHVM Status Code Coverage Scrutinizer Quality Score Code Climate


build/               internally used build tools
docs/                documentation
framework/           core framework code
tests/               tests of the core framework code


The minimum requirement by Yii is that your Web server supports PHP 5.4.


Yii 2.0 has a Definitive Guide and a Class Reference which cover every detail of Yii.

There is also a PDF version of the Definitive Guide and a Definitive Guide Mirror which is updated every 15 minutes.

For 1.1 users, you may refer to Upgrading from Yii 1.1 to have a general idea of what has changed in 2.0.


Your participation to Yii 2 development is very welcome!

You may participate in the following ways:

Acknowledging or citing Yii 2

In presentations

If you are giving a presentation or talk featuring work that makes use of Yii 2 and would like to acknowledge it, we suggest using our logo on your title slide.

In projects

If you are using Yii 2 as part of an OpenSource project, a way to acknowledge it is to use a special badge in your README:


If your code is hosted at GitHub, you can place the following in your README.md file to get the badge: