Compare static analysis and code quality metrics of popular PHP frameworks.
- cakephp/cakephp
- codeigniter4/CodeIgniter4
- laminas/laminas-mvc
- laravel/framework
- symfony/symfony
- yiisoft/yii2
| Tool | Description |
|---|---|
| PHPStan (Level 8) | Static analysis error count |
| Psalm | Static analysis error count |
| phploc | Lines of code, classes, methods, complexity |
| Cognitive Complexity | Method complexity analysis |
| Silenced Issues | Inline suppressions and baseline entries |
# Run all analyses
php run_all.php
# Or run individual checks
php check_phpstan/run_all.php
php check_psalm/run_all.php
php check_phploc/run_all.php
php check_cognitive/run_all.php
php check_silenced/run_all.php
# Regenerate report from existing JSON
php generate_report.phpSee reports/README.md for the latest comparison table.
Note: The results are not interpreted here, only displayed as raw data so far.
- visible results as table or graph