* Implement #13219: Ability to not shuffle masters connections * Enh: add master connection getter * Add test case for #13241 which implements #13219 * Doc comments [skip ci] * Doc comments * Fix: wrong return value when no masters * Revert `getMasterPdo()` 4a786c7e10519bd1b3b5593e6fa0a6bbdafbb37a * Fix: try to fix too slow test * Refact: fix Single Responsibility; Fix possible BC break * Update Connection.php * Update Connection.php * Update Connection.php * Update Connection.php * Updated CHANGELOG * Fix: grammatic mistake * Refact: property renamed from `randomizeMasters` to `shuffleMasters` * Refact: split and try to simplify tests
Yii PHP Framework Version 2
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.
DIRECTORY STRUCTURE
build/ internally used build tools
docs/ documentation
framework/ core framework code
tests/ tests of the core framework code
REQUIREMENTS
The minimum requirement by Yii is that your Web server supports PHP 5.4.
DOCUMENTATION
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.
HOW TO PARTICIPATE
Your participation to Yii 2 development is very welcome!
You may participate in the following ways:
- Report an issue
- Translate documentation or messages
- Give us feedback or start a design discussion
- Contribute to the core code or fix bugs
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:
[](http://www.yiiframework.com/)




