Skip to content

PSR adoption

Alexander Makarov edited this page Sep 6, 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 Implemented in 2.1. Supported in 2.0 as consumer via extension.
4 Autoloading Implemented.
5 PHPDoc Plan is to finish the standard and then follow it. Partially supported. We're writing phpdoc according to support in PhpStorm and NetBeans IDEs. #11635
6 Cache Won't be adopted. See PSR-16.
7 HTTP Message Implemented in 2.1.
8 Huggable It was a joke. Won't be adopted.
9 Security Advisories
10 Security Reporting
11 Container
12 Code style Plan is to finish the standard and then follow it. Partially adopted.
13 Hypermedia Links
14 Events #11389, #14349
15 HTTP Middlewares
16 Cache Implemented in 2.1.
17 HTTP Factories
Clone this wiki locally