A collection of (mostly) free or open source PHP libraries, utilities and tools for QA, analysing, parsing and manipulating PHP code, sourced under a creative commons. This list will be updated regularly. Email over the URL, if you wish to be included.

Code Analysis

Libraries and tools for analysing, parsing and manipulating codebases.

  • Better Reflection – AST-based reflection library that allows analysis and manipulation of code
  • Code Climate – An automated code review.
  • GrumPHP – A PHP code-quality tool.
  • PHP Parser – A PHP parser written in PHP.
  • PHP Semantic Versioning Checker – A command line utility that compares two source sets and determines the appropriate semantic versioning to apply.
  • Phpactor – PHP completion, refactoring and introspection tool.
  • PHPLOC – A tool for quickly measuring the size of a PHP project.
  • PHPQA – A tool for running QA tools (phploc, phpcpd, phpcs, pdepend, phpmd, phpmetrics).
  • Qafoo Quality Analyzer – A tool to visualize metrics and source code.
  • Rector – A tool to upgrade and refactor code.
  • Scrutinizer – A web tool to scrutinise PHP code.
  • UBench – A simple micro benchmark library.

Tags:PHP Code Analysis, PHP code analysis tools, php code analysis libraries, PHP, PHP parser, PHP code reviews, QA, QA Tools, PHP QA Tools, phploc, phpcpd, phpcs, pdepend, phpmd, phpmetrics, code climate, grumPHP, PHP Parser, PHPactor, PHPLOC, PHPQA, Rector, Scrutinizer, UBench