Skip to content

Conversation

@dereuromark
Copy link
Contributor

@dereuromark dereuromark commented Jan 22, 2026

Summary

  • Adds PSR compliance comparison table to the framework report
  • Shows which PSR interfaces each framework formally implements (via composer.json provide declarations)
  • Covers PSR-3, 4, 6, 11, 13, 14, 15, 16, 17, 18, and 20

Key Findings

Framework PSR Implementations
Symfony 9
CakePHP 7
Laravel 4
Laminas 2
CodeIgniter 1
Yii2 1

PSR Compliance Results

PSR Standard CakePHP CodeIgniter Laminas Laravel Symfony Yii2
PSR-3 Logger Interface - - -
PSR-4 Autoloading
PSR-6 Cache Interface - - - - -
PSR-11 Container Interface - -
PSR-13 Link Interface - - - - -
PSR-14 Event Dispatcher - - - - -
PSR-15 HTTP Handlers - - - - -
PSR-16 Simple Cache - - -
PSR-17 HTTP Factories - - - - -
PSR-18 HTTP Client - - - -
PSR-20 Clock - - - - -
Total 7 1 2 4 9 1

Ranking

  1. Symfony - 9 PSR implementations (most comprehensive)
  2. CakePHP - 7 PSR implementations (strong HTTP layer support)
  3. Laravel - 4 PSR implementations
  4. Laminas - 2 PSR implementations
  5. CodeIgniter / Yii2 - 1 PSR implementation (PSR-4 only)

Note: Cake also supports Clock via chronos package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants