Code Analysis

Libraries and tools for analysing, parsing and manipulating codebases.

PHP Parser17.1K

A PHP parser written in PHP.

Rector9.1K

A tool to upgrade and refactor code.

GrumPHP4.2K

A PHP code-quality tool.

PHPLOC2.3K

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

Phpactor1.5K

PHP completion, refactoring and introspection tool.

Better Reflection1.2K

AST-based reflection library that allows analysis and manipulation of code

UBench567

A simple micro-benchmark library.

PHPQA565

A tool for running QA tools (phploc, phpcpd, phpcs, pdepend, phpmd, phpmetrics).

PHP Magic Number Detector561

A library that detects magic numbers in code.

PHP Semantic Versioning Checker430

A command line utility that compares two source sets and determines the appropriate semantic versioning to apply.

Editorconfig-Checker65

A command line utility which verifies that your files implement your .editorconfig rules.