Skip to content

php-collective/framework-comparison

Repository files navigation

PHP Framework Comparison

Compare static analysis and code quality metrics of popular PHP frameworks.

Frameworks Analyzed

Metrics Collected

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

Usage

# 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.php

Results

See reports/README.md for the latest comparison table.

Note: The results are not interpreted here, only displayed as raw data so far.

TODOs

  • visible results as table or graph

About

Compare some metrics of popular PHP frameworks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages