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
