PSR
Abbreviation · Development
Definitions
PHP Standard Recommendation — a set of coding standards and interfaces published by the PHP Framework Interop Group (PHP-FIG). PSR-4 defines autoloading, PSR-7 defines HTTP message interfaces, and PSR-12 defines coding style. The standards that stopped PHP frameworks from being incompatible islands.
In plain English: Official coding rules for PHP that ensure different frameworks and libraries can work together, like agreeing to drive on the same side of the road.
Example: "Our library follows PSR-4 autoloading and PSR-12 style, so it works with any modern PHP framework."