@@ -9,17 +13,19 @@ Yii 2 is a modern framework designed to be a solid foundation for your PHP appli
It is fast, secure and efficient and works right out of the box pre-configured with reasonable defaults.
The framework is easy to adjust to meet your needs, because Yii has been designed to be flexible.
-[](https://packagist.org/packages/yiisoft/yii2)
-[](https://packagist.org/packages/yiisoft/yii2)
-[](https://github.com/yiisoft/yii2/actions)
-[](https://codecov.io/gh/yiisoft/yii2)
-[](https://scrutinizer-ci.com/g/yiisoft/yii2/)
+[](https://www.php.net/)
+[](https://packagist.org/packages/yiisoft/yii2)
+[](https://packagist.org/packages/yiisoft/yii2)
+[](https://github.com/yiisoft/yii2/actions)
+[](https://codecov.io/gh/yiisoft/yii2)
Installation
------------
-- The minimum required PHP version of Yii is PHP 7.4.
-- It works best with PHP 8.
+> [!IMPORTANT]
+> - The minimum required PHP version of Yii is PHP 7.4.
+> - It works best with PHP 8.
+
- [Follow the Definitive Guide](https://www.yiiframework.com/doc-2.0/guide-start-installation.html)
in order to get step by step instructions.
@@ -37,7 +43,8 @@ to get an idea of what has changed in 2.0.
Versions & PHP compatibility
----------------------------
-See ["Release Cycle" at the website](https://www.yiiframework.com/release-cycle).
+> [!NOTE]
+> See ["Release Cycle" at the website](https://www.yiiframework.com/release-cycle) for detailed information about supported versions.
Community
---------
@@ -63,6 +70,9 @@ You may join us and:
### Reporting Security issues
+> [!WARNING]
+> Please do not report security vulnerabilities through public GitHub issues.
+
Please refer to a [special page at the website](https://www.yiiframework.com/security/)
describing proper workflow for security issue reports.
@@ -89,7 +99,7 @@ we suggest using [our logo](https://www.yiiframework.com/logo/) on your title sl
If you are using Yii 2 as part of an OpenSource project, a way to acknowledge it is to
[use a special badge](https://img.shields.io/badge/Powered_by-Yii_Framework-green.svg?style=flat) in your README:
-
+
If your code is hosted at GitHub, you can place the following in your README.md file to get the badge:
@@ -101,4 +111,7 @@ If your code is hosted at GitHub, you can place the following in your README.md
Support this project by becoming a sponsor or a backer.
-[](https://opencollective.com/yiisoft) [](https://opencollective.com/yiisoft)
+[
+](https://opencollective.com/yiisoft)
+[
+](https://opencollective.com/yiisoft)
From 3bab5e731c7cafcc016ff8f4ed893770fbfb3349 Mon Sep 17 00:00:00 2001
From: Wilmer Arambula
Date: Tue, 30 Sep 2025 10:25:02 -0300
Subject: [PATCH 02/10] Apply fixed review Copilot.
---
README.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 65ac92ed3ff..7fee0c82860 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,9 @@
@@ -97,7 +97,7 @@ we suggest using [our logo](https://www.yiiframework.com/logo/) on your title sl
**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](https://img.shields.io/badge/Powered_by-Yii_Framework-green.svg?style=flat) in your README:
+[use a special badge](https://img.shields.io/badge/Powered_by-Yii_Framework-green.svg?style=for-the-badge&logo=yii) in your README:

From 303258b9cc150ce1ebdb5a8c4dd4d9280bc54298 Mon Sep 17 00:00:00 2001
From: Wilmer Arambula
Date: Tue, 30 Sep 2025 10:29:27 -0300
Subject: [PATCH 03/10] Apply fixed review Copilot.
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 7fee0c82860..9ebedfefc81 100644
--- a/README.md
+++ b/README.md
@@ -99,12 +99,12 @@ we suggest using [our logo](https://www.yiiframework.com/logo/) on your title sl
If you are using Yii 2 as part of an OpenSource project, a way to acknowledge it is to
[use a special badge](https://img.shields.io/badge/Powered_by-Yii_Framework-green.svg?style=for-the-badge&logo=yii) in your README:
-
+[](https://www.yiiframework.com/)
If your code is hosted at GitHub, you can place the following in your README.md file to get the badge:
```
-[](https://www.yiiframework.com/)
+[](https://www.yiiframework.com/)
```
### Sponsoring
From 7db0d25f5155b4bcd7d4360f71feba1adda6c574 Mon Sep 17 00:00:00 2001
From: Wilmer Arambula
Date: Tue, 30 Sep 2025 10:31:57 -0300
Subject: [PATCH 04/10] Apply fixed review Copilot.
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 9ebedfefc81..2204a827d9b 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
-
+
@@ -113,5 +113,5 @@ Support this project by becoming a sponsor or a backer.
[
](https://opencollective.com/yiisoft)
-[
+[
](https://opencollective.com/yiisoft)
From 82eb1a399cbe4e937e6477cb648ac79a37dc83b5 Mon Sep 17 00:00:00 2001
From: Wilmer Arambula
Date: Tue, 30 Sep 2025 10:36:28 -0300
Subject: [PATCH 05/10] Update badge styles in `README.md` for improved
consistency and logo display.
---
README.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 2204a827d9b..e5e396dae71 100644
--- a/README.md
+++ b/README.md
@@ -14,9 +14,9 @@ It is fast, secure and efficient and works right out of the box pre-configured w
The framework is easy to adjust to meet your needs, because Yii has been designed to be flexible.
[](https://www.php.net/)
-[](https://packagist.org/packages/yiisoft/yii2)
-[](https://packagist.org/packages/yiisoft/yii2)
-[](https://github.com/yiisoft/yii2/actions)
+[](https://packagist.org/packages/yiisoft/yii2)
+[](https://packagist.org/packages/yiisoft/yii2)
+[](https://github.com/yiisoft/yii2/actions)
[](https://codecov.io/gh/yiisoft/yii2)
Installation
@@ -111,7 +111,7 @@ If your code is hosted at GitHub, you can place the following in your README.md
Support this project by becoming a sponsor or a backer.
-[
+[
](https://opencollective.com/yiisoft)
-[
+[
](https://opencollective.com/yiisoft)
From cc0355fa8bf4b031b177efd6d59905c308af4e1c Mon Sep 17 00:00:00 2001
From: Wilmer Arambula
Date: Tue, 30 Sep 2025 10:38:56 -0300
Subject: [PATCH 06/10] Apply fixed review Copilot.
---
README.md | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index e5e396dae71..e0d2a927de8 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
-
+
@@ -111,7 +111,5 @@ If your code is hosted at GitHub, you can place the following in your README.md
Support this project by becoming a sponsor or a backer.
-[
-](https://opencollective.com/yiisoft)
-[
-](https://opencollective.com/yiisoft)
+[](https://opencollective.com/yiisoft)
+[](https://opencollective.com/yiisoft)
From af46bb05bd073f0aaefaaa7ef8fac680232dc5bc Mon Sep 17 00:00:00 2001
From: Wilmer Arambula
Date: Tue, 30 Sep 2025 19:08:00 -0300
Subject: [PATCH 07/10] Fix badge links and improve PHP version requirements
formatting in `README.md`.
---
README.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index e0d2a927de8..66be958158d 100644
--- a/README.md
+++ b/README.md
@@ -13,18 +13,18 @@ Yii 2 is a modern framework designed to be a solid foundation for your PHP appli
It is fast, secure and efficient and works right out of the box pre-configured with reasonable defaults.
The framework is easy to adjust to meet your needs, because Yii has been designed to be flexible.
-[](https://www.php.net/)
[](https://packagist.org/packages/yiisoft/yii2)
[](https://packagist.org/packages/yiisoft/yii2)
-[](https://github.com/yiisoft/yii2/actions)
+[](https://github.com/yiisoft/yii2/actions/workflows/build.yml)
+[](https://github.com/yiisoft/yii2/actions/workflows/static.yml)
[](https://codecov.io/gh/yiisoft/yii2)
Installation
------------
> [!IMPORTANT]
-> - The minimum required PHP version of Yii is PHP 7.4.
-> - It works best with PHP 8.
+> - The minimum required [PHP](https://www.php.net/) version of Yii is PHP `7.4`.
+> - It works best with PHP `8.0` or later.
- [Follow the Definitive Guide](https://www.yiiframework.com/doc-2.0/guide-start-installation.html)
in order to get step by step instructions.
From ad327d65cbc6a369028b20b6a4ed65b90dddcb2b Mon Sep 17 00:00:00 2001
From: Wilmer Arambula
Date: Tue, 30 Sep 2025 19:12:09 -0300
Subject: [PATCH 08/10] Update badge labels for clarity and improve PHP version
recommendation in `README.md`.
---
README.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 66be958158d..860d2018a49 100644
--- a/README.md
+++ b/README.md
@@ -13,18 +13,18 @@ Yii 2 is a modern framework designed to be a solid foundation for your PHP appli
It is fast, secure and efficient and works right out of the box pre-configured with reasonable defaults.
The framework is easy to adjust to meet your needs, because Yii has been designed to be flexible.
-[](https://packagist.org/packages/yiisoft/yii2)
+[](https://packagist.org/packages/yiisoft/yii2)
[](https://packagist.org/packages/yiisoft/yii2)
[](https://github.com/yiisoft/yii2/actions/workflows/build.yml)
-[](https://github.com/yiisoft/yii2/actions/workflows/static.yml)
-[](https://codecov.io/gh/yiisoft/yii2)
+[](https://codecov.io/gh/yiisoft/yii2)
+[](https://github.com/yiisoft/yii2/actions/workflows/static.yml)
Installation
------------
> [!IMPORTANT]
> - The minimum required [PHP](https://www.php.net/) version of Yii is PHP `7.4`.
-> - It works best with PHP `8.0` or later.
+> - It works best with PHP `8`.
- [Follow the Definitive Guide](https://www.yiiframework.com/doc-2.0/guide-start-installation.html)
in order to get step by step instructions.
From fb62df1c4aa1ffc139d46f623868d16be61b5b2d Mon Sep 17 00:00:00 2001
From: Wilmer Arambula
Date: Tue, 30 Sep 2025 19:14:00 -0300
Subject: [PATCH 09/10] Fix badge logo in Total Downloads section of
`README.md` for consistency.
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 860d2018a49..859c0b83f00 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@ It is fast, secure and efficient and works right out of the box pre-configured w
The framework is easy to adjust to meet your needs, because Yii has been designed to be flexible.
[](https://packagist.org/packages/yiisoft/yii2)
-[](https://packagist.org/packages/yiisoft/yii2)
+[](https://packagist.org/packages/yiisoft/yii2)
[](https://github.com/yiisoft/yii2/actions/workflows/build.yml)
[](https://codecov.io/gh/yiisoft/yii2)
[](https://github.com/yiisoft/yii2/actions/workflows/static.yml)
From fafb8194be5a9c7d034ad39c81838e161dd038fa Mon Sep 17 00:00:00 2001
From: Wilmer Arambula
Date: Tue, 30 Sep 2025 19:16:11 -0300
Subject: [PATCH 10/10] Fix badge order in `README.md` for improved clarity and
consistency.
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 859c0b83f00..2348867cc7c 100644
--- a/README.md
+++ b/README.md
@@ -16,8 +16,8 @@ The framework is easy to adjust to meet your needs, because Yii has been designe
[](https://packagist.org/packages/yiisoft/yii2)
[](https://packagist.org/packages/yiisoft/yii2)
[](https://github.com/yiisoft/yii2/actions/workflows/build.yml)
-[](https://codecov.io/gh/yiisoft/yii2)
[](https://github.com/yiisoft/yii2/actions/workflows/static.yml)
+[](https://codecov.io/gh/yiisoft/yii2)
Installation
------------