skey - web developer

Php FIG

  1. PSR 0
  2. PSR 1 basic coding standard
  3. PSR 2 coding style guide meta
  4. PSR 2 coding style guide
  5. PSR 3 logger interface
  6. PSR 4 autoloader examples
  7. PSR 4 autoloader meta
  8. PSR 4 autoloader
  9. PSR 7 http message meta
  10. PSR 7 http message

PHP-FIG

PHP Framework Interoperability Group is a group of people behind the most used frameworks who debate together and make decisions how to make programmers life easier. They do it by preparing PSR, which stands for PHP Standard Recommendation.

What are the PSRs and why do we need them?

Some time ago, programmers have found out that each PHP framework uses different solutions on common problems, like autoloading classes, logging etc. Different solutions on each framework meant that they were not compatible or interchangable. It also meant that developer in one framework learned it one way, but couldn't use their knowledge in other framework. Therefore they formed a grooup called PHP-FIG and started to work on common solutions to common issues. We could call them best practices, but those guys call them PSRs. There are many PSRs being prepared or being voted by members of PHP-FIG and anybody can join discussion about them on their google group. There are also some PSR which are already accepted and being implemented by those PHP framework. Therefore learning those PSRs is like learning all of those frameworks.

Slovak translation of PSRs

In my attempt to understand the best, what these PSRs are about, I decided to translate them to my native language and share it with others. Some time ago the PHP-FIG decided in voting to drop support for PSR translations, because they don't have facility to support and check correctness of translations and removed them from PHP-FIG github and website. Therefore I decided to place my translation for anybody who would be interested in reading them.