The World of PHP PSR Standards
-
Upload
radu-murzea -
Category
Software
-
view
16 -
download
6
Transcript of The World of PHP PSR Standards
![Page 1: The World of PHP PSR Standards](https://reader036.fdocuments.us/reader036/viewer/2022062522/58e874711a28ab60318b5005/html5/thumbnails/1.jpg)
The World of PHP PSR Standards
by Radu Murzea (Pentalog)
![Page 2: The World of PHP PSR Standards](https://reader036.fdocuments.us/reader036/viewer/2022062522/58e874711a28ab60318b5005/html5/thumbnails/2.jpg)
PHP standards before 2009…
![Page 3: The World of PHP PSR Standards](https://reader036.fdocuments.us/reader036/viewer/2022062522/58e874711a28ab60318b5005/html5/thumbnails/3.jpg)
PHP standards Today
PSR-3Logger Interface
PSR-2Coding Style
PSR-1Coding Style
PSR-0Autoloading
PSR-4Autoloading
PSR-6Caching Interface
PSR-7HTTP Messages
![Page 4: The World of PHP PSR Standards](https://reader036.fdocuments.us/reader036/viewer/2022062522/58e874711a28ab60318b5005/html5/thumbnails/4.jpg)
History…
![Page 5: The World of PHP PSR Standards](https://reader036.fdocuments.us/reader036/viewer/2022062522/58e874711a28ab60318b5005/html5/thumbnails/5.jpg)
History…
![Page 6: The World of PHP PSR Standards](https://reader036.fdocuments.us/reader036/viewer/2022062522/58e874711a28ab60318b5005/html5/thumbnails/6.jpg)
History…
![Page 7: The World of PHP PSR Standards](https://reader036.fdocuments.us/reader036/viewer/2022062522/58e874711a28ab60318b5005/html5/thumbnails/7.jpg)
History…
PSR-0Namespaces
![Page 8: The World of PHP PSR Standards](https://reader036.fdocuments.us/reader036/viewer/2022062522/58e874711a28ab60318b5005/html5/thumbnails/8.jpg)
History…
PSR-0Autoloading
![Page 9: The World of PHP PSR Standards](https://reader036.fdocuments.us/reader036/viewer/2022062522/58e874711a28ab60318b5005/html5/thumbnails/9.jpg)
The StandardsID Name Description
PSR-0 Autoloading Standard Mandatory requirements that must be adhered to for autoloader interoperability
PSR-1 Basic Coding Standard Standard coding elements that are required to ensure a high level of technical interoperability between shared PHP code.
PSR-2 Coding Style Guide Extends and expands on PSR-1.
PSR-3 Logger Interface Common interface for logging libraries.
PSR-4 Autoloading Standard Specification for autoloading classes from file paths.
PSR-6 Caching Interface Create cache-aware libraries that can be integrated into existing frameworks and systems without the need for custom development.
PSR-7 HTTP Message Interface Common interfaces for representing HTTP messages.
![Page 10: The World of PHP PSR Standards](https://reader036.fdocuments.us/reader036/viewer/2022062522/58e874711a28ab60318b5005/html5/thumbnails/10.jpg)
How they’re born
![Page 11: The World of PHP PSR Standards](https://reader036.fdocuments.us/reader036/viewer/2022062522/58e874711a28ab60318b5005/html5/thumbnails/11.jpg)
How they’re born
PHP-FIG
![Page 12: The World of PHP PSR Standards](https://reader036.fdocuments.us/reader036/viewer/2022062522/58e874711a28ab60318b5005/html5/thumbnails/12.jpg)
How they’re born
PHP-FIG
![Page 13: The World of PHP PSR Standards](https://reader036.fdocuments.us/reader036/viewer/2022062522/58e874711a28ab60318b5005/html5/thumbnails/13.jpg)
How they’re born
PHP-FIG
![Page 14: The World of PHP PSR Standards](https://reader036.fdocuments.us/reader036/viewer/2022062522/58e874711a28ab60318b5005/html5/thumbnails/14.jpg)
How they’re born
PHP-FIG
![Page 15: The World of PHP PSR Standards](https://reader036.fdocuments.us/reader036/viewer/2022062522/58e874711a28ab60318b5005/html5/thumbnails/15.jpg)
How they’re born
PHP-FIG
PSR-x
![Page 16: The World of PHP PSR Standards](https://reader036.fdocuments.us/reader036/viewer/2022062522/58e874711a28ab60318b5005/html5/thumbnails/16.jpg)