PSRs (PHP Standard Recommendations) అనేవి PHP-FIG (Framework Interoperability Group) ద్వారా ప్రచురించిన ప్రమాణాల సమితి, ఇవి సాధారణ సంప్రదాయాలను — కోడింగ్ శైలి, ఆటోలోడింగ్ మరియు భాగస్వామ్య ఇంటర్ఫేసులను — నిర్వచిస్తాయి, వివిధ PHP ఫ్రేమ్వర్క్లు, లైబ్రరీలు మరియు ప్యాకేజీల మధ్య ఇంటరాపరేబిలిటీ సక్షమం చేస్తాయి.
అత్యంత ముఖ్యమైన PSRs
PSR-1 / PSR-12 → CODING STYLE (basic + extended): naming, braces, indentation, etc.
PSR-4 → AUTOLOADING: namespace ↔ directory mapping (used by Composer)
PSR-3 → LoggerInterface: a common logging interface
PSR-7 → HTTP message interfaces (Request/Response objects)
PSR-11 → ContainerInterface: a common DI container interface
PSR-15 → HTTP middleware interface
PSR-6 / PSR-16 → Caching interfaces
PSR-18 → HTTP client interface
