Tool category

PHP specialized tools

Wrappers, baseliners, multi-language engines, and focused analysis tools that do not fit the primary categories.

Tools in this category

14 tools. Editor picks appear first; review the requirements and trade-offs of each tool.

Specialized tools

Semgrep

Active

Lightweight static analysis for many languages. Find bug variants with patterns that look like source code.

  • Static Analysis
Type
Analyzer
License
LGPL-2.1
Stars
17,712
Latest
v1.185.0
Last commit
Last release
Quick pros & cons for Semgrep

ProMakes custom security rules concise and language-friendly.

ConDeep PHP type and framework semantics are limited.

Editorially reviewed

Specialized tools

Larastan

Active

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

  • PHP
  • PHPStan
Type
Extension
PHP
^8.2
License
MIT
Install
composer require --dev larastan/larastan
Stars
6,555
Latest
v3.15.0
Last commit
Last release
Quick pros & cons for Larastan

ProTeaches PHPStan about Laravel containers, facades, and models.

ConIt depends on PHPStan and Laravel-specific configuration.

Editorially reviewed

Specialized tools

GrumPHP

Active

Running a project’s PHP quality tools before code is committed

  • Code Quality
  • PHP
Type
Orchestrator
PHP
~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0
License
MIT
Install
composer require --dev phpro/grumphp
Stars
4,319
Latest
v2.26.0
Last commit
Last release
Quick pros & cons for GrumPHP

ProRuns the project's quality tools before commit and in CI.

ConIt orchestrates analyzers rather than adding its own checks.

Editorially reviewed

Specialized tools

Opengrep

Active

🔎 Static code analysis engine to find security issues in code.

Type
Analyzer
License
LGPL-2.1
Stars
3,341
Latest
v2.0.0
Last commit
Last release
Quick pros & cons for Opengrep

ProUses source-like rules for custom security checks.

ConCustom rules need tuning to control false positives.

Editorially reviewed

Specialized tools

Qlty

Active

Polyglot teams that want one local and CI workflow around PHPStan, PHPCS, PHP-CS-Fixer, Semgrep, and other tools.

  • Code Quality
  • PHP
  • Static Analysis
Type
Orchestrator
PHP
PHP 5+ for maintainability and coverage; individual plugins have their own requirements.
License
Business Source License 1.1 with delayed open-source publication
Pricing
Qlty CLI is free for all use; Qlty Cloud has separate service plans.
Install
Install a native Qlty CLI binary using the official installer or release archive.
Stars
3,224
Latest
v0.669.0
Last commit
Last release
Quick pros & cons for Qlty

ProUnifies PHP linters, formatters, security checks, metrics, and coverage in a polyglot CLI.

ConThe CLI uses a Fair Source BSL license rather than an OSI-approved open-source license.

Editorially reviewed

Specialized tools

jakzal/phpqa

Active

Running a ready-made PHP analysis toolchain in Docker

  • Code Quality
  • PHP
  • PHPStan
  • Static Analysis
Type
Orchestrator
License
MIT
Stars
1,320
Latest
v1.125.11
Last commit
Last release
Quick pros & cons for jakzal/phpqa

ProBundles a maintained PHP analysis toolchain in Docker.

ConThe Docker image is heavier than installing one focused tool.

Editorially reviewed

Specialized tools

Composer Require Checker

Active

A CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependencies

  • Code Quality
Type
Analyzer
PHP
~8.4.0 || ~8.5.0
License
MIT
Install
composer require --dev maglnet/composer-require-checker
Stars
1,011
Latest
4.24.0
Last commit
Last release
Quick pros & cons for Composer Require Checker

ProFinds symbols used without a direct Composer dependency.

ConDynamic symbols can require allowlists.

Editorially reviewed

Specialized tools

aislop

Active

Detecting AI-code mistakes and quality regressions before merge

  • Code Quality
  • PHP
  • Static Analysis
Type
Analyzer
License
MIT
Stars
746
Latest
v0.22.1
Last commit
Last release
Quick pros & cons for aislop

ProFinds common AI-code mistakes with deterministic rules.

ConHeuristic findings still need human review.

Editorially reviewed

Active

Library maintainers enforcing semantic-versioning compatibility in CI.

  • API compatibility
  • PHP
  • Static Analysis
Type
Analyzer
PHP
~8.4.0 || ~8.5.0
License
MIT
Pricing
Free and open source
Install
composer require --dev roave/backward-compatibility-check
Stars
604
Latest
8.27.0
Last commit
Last release
Quick pros & cons for Roave Backward Compatibility Check

ProTurns PHP API compatibility changes into an enforceable CI check.

ConIt depends on Git history and SemVer tags and cannot detect every behavioral compatibility break.

Editorially reviewed

Specialized tools

Glayzzle PHP Parser (Node.js)

Active

JavaScript and Node.js tooling that needs to parse PHP without running PHP.

  • PHP
Type
Library
License
BSD-3-Clause
Stars
565
Latest
v3.7.0
Last commit
Last release
Quick pros & cons for Glayzzle PHP Parser (Node.js)

ProExposes PHP tokens and an AST to Node.js tools.

ConIt is a JavaScript parser, not a complete analyzer.

Editorially reviewed

Active

Detecting source-level API compatibility changes before publishing a PHP package release.

  • PHP
Type
Analyzer
PHP
^8.1
License
MIT
Install
composer require --dev tomzx/php-semver-checker
Stars
438
Latest
v0.17.0
Last commit
Last release
Quick pros & cons for PHP Semantic Versioning Checker

ProSuggests version changes from source-level API differences.

ConDynamic behavior and documentation changes may escape detection.

Editorially reviewed

Active

Static Analysis Results Baseliner

Type
Orchestrator
PHP
>=8.2 <8.6
License
MIT
Install
composer require --dev dave-liddament/sarb
Stars
166
Latest
1.11.0
Last commit
Last release
Quick pros & cons for Static Analysis Results Baseliner

ProCreates manageable baselines for existing analysis debt.

ConA baseline records debt instead of fixing it.

Editorially reviewed

Specialized tools

PHPQA

Inactive

Analyze PHP code with one command

Type
Orchestrator
PHP
>=5.4
License
MIT
Install
composer require --dev edgedesign/phpqa
Stars
564
Latest
v1.27.2
Last commit
Last release
Quick pros & cons for PHPQA

ProRuns a broad PHP quality toolchain with one command.

ConBundled tools still need individual configuration.

Editorially reviewed

Specialized tools

Coverage Guard

AdjacentActive

Adjacent test-quality gating for critical methods and newly changed PHP code.

  • PHP
  • Static Analysis
Type
Analyzer
PHP
^8.1
License
MIT
Install
composer require --dev shipmonk/coverage-guard
Stars
61
Latest
1.2.0
Last commit
Last release
Quick pros & cons for Coverage Guard

ProEnforces coverage on critical methods or newly changed code.

ConIt needs coverage files and CI configuration.

Editorially reviewed