PSRs (PHP Standard Recommendations) PHP-FIG (Framework Interoperability Group) द्वारा प्रकाशित गरिएको मानकहरूको एक सेट हुन् जसले सामान्य अभ्यासहरू — कोडिङ शैली, autoloading, र साझा इन्टरफेसहरू — परिभाषित गर्छ, जसले विभिन्न 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
