Skip to content

PSR adoption

Alexander Makarov edited this page Mar 16, 2017 · 17 revisions

The table below indicates PSRs usage in Yii framework.

PSR # Purpose Status
0 Autoloading Deprecated standard.
1 Code Style Partially adopted.
2 Code Style Partially adopted.
3 Logger Supported as consumer via extension. Mentioned in logging guide.
4 Autoloading Supported.
5 PHPDoc Partially supported. We're writing phpdoc according to support in PhpStorm and NetBeans IDEs.
6 Cache Unlikely to be adopted as provider. Consumer is possible. To be discussed.
7 HTTP Message
8 Huggable It was a joke. Won't be adopted.
9 Security Advisories
10 Security Reporting
11 Container
12 Code style Partially adopted.
13 Hypermedia Links
14 Events
15 HTTP Middlewares
16 Cache Could be adopted as both consumer and provider in major versions.
17 HTTP Factories
Clone this wiki locally