PHP Standards Recommendations (PSR)

PHP Standards Recommendations. This is a set of rules and best practices, that may be adopted by any PHP project. It will help adopt common behavior and improve collaboration between projects.

PSR are edited by the PHP-FIG : Framework Interoperability Group.

There are 22 PSR at the moment, covering subjects such as cache, factories, log, coding standards,…

Documentation

See also PHP extension providing the accepted PSR interfaces

Related : FIG