The Principal Dev – Masterclass for Tech Leads

The Principal Dev – Masterclass for Tech LeadsJuly 17-18

Join

Top PHP Code Quality Tools 2025

GitHub Libraries PHP Code Quality Tools

phpstan/phpstan 13K +27

added 5 months ago

PHP Static Analysis Tool - discover bugs in your code without running it!

php-cs-fixer/php-cs-fixer 13K +23

added 5 months ago

A tool to automatically fix PHP Coding Standards issues

rectorphp/rector 9K +26

added 4 months ago

Rector instantly upgrades and refactors the PHP code of your application.

larastan/larastan 6K +23

added 4 months ago

Adds code analysis to Laravel improving developer productivity and code quality.

vimeo/psalm 5K +3

added 4 months ago

A static analysis tool for finding errors in PHP applications

phan/phan 5K +3

added 4 months ago

Phan is a static analyzer for PHP. Phan prefers to avoid false-positives and attempts to prove incorrectness rather than correctness.

nunomaduro/phpinsights 5K +5

added 3 months ago

Instant PHP quality checks from your console

phpro/grumphp 4K

added 4 months ago

GrumPHP is a code quality enforcement tool. It leverages the git pre-commit hook to run specific tasks that you've configured.

phpmetrics/phpmetrics 2K +5

added 4 months ago

PhpMetrics provides metrics about PHP project and classes, with beautiful and readable HTML report.

phpmd/phpmd 2K +2

added 4 months ago

PHPMD (PHP Mess Detector) analyzes PHP code for bugs, suboptimal code, complexity, and unused elements using predefined rules.

sebastianbergmann/phploc 2K

added 4 months ago

A tool for quickly measuring the size of a PHP project.

Join libs.tech

...and unlock some superpowers

GitHub

We won't share your data with anyone else.