Framework generations
Yii 1.1, Yii 2, and Yii3 are separate projects with their own release cycles. Additionally, Yii3 consists of many packages each tagged using SemVer and having its own release cycle.
Maintenance policy
Major version of Yii 1.1 and Yii 2 is receiving enhancements until it is decided to start working on next major version.
After current major version release previous major version has:
- Two years of bug fixes.
- Three years of security and PHP compatibility fixes.
Above policy periods may be extended for individual versions.
PHP versions support
In order for the framework to work well in a range of PHP versions we are running framework tests using PHPUnit. In case newer version of PHPUnit does not work well with unsupported PHP version we may remove such PHP version from our test runs. It doesn't mean that older versions would break but it significantly increases chances for it.
Therefore, it is recommended to use supported verison of PHP.
Current versions
Legend
| Active support. New features, enhancements, bug fixes, security fixes are accepted. | ||
| Feature freeze. New features are no longer accepted. | ||
| Mainly security and PHP compatibility fixes. | ||
| Future version. |
Pale color means forecast in case next major version is released today.
Details
| Version | PHP Version | Release (active support) | Feature freeze | Security and PHP compatibility fixes only | End of life |
|---|---|---|---|---|---|
| Yii3 | >= 8.2 | 2025-12-31 | 2030-12-31 | 2032-12-31 | 2035-12-31 |
| 2.2.x ¹ | >= 8.1 | To be announced | To be announced | Next release +2 years | Next release +5 years |
| >= 2.0.50 | >= 7.3, <= 8.4 | 2024-05-30 | 2024-05-30 | 2026-11-23 | 2027-11-23 |
| <= 2.0.49 | >= 5.4, <= 8.3 | 2014-10-12 | 2023-08-29 | 2023-10-31 | 2026-11-23 |
| 1.1 | >= 5.1 | 2010-01-10 | 2015-11-22 | 2017-01-01 | 2026-12-31 |