Maintainer-curated PHP tooling index

Choose the right analysis tool for your PHP codebase.

Explore static analyzers, coding-standard tools, architecture guards, metrics, refactoring utilities, and hosted services in one current, searchable catalog.

Catalog freshness: 100/111 records refreshed within 7 days as of .

80
current tools
9
editor picks
7
categories
31
preserved projects

Search installable tools

Tools and packages

Installable analyzers, packages, plugins, and command-line tools come first. Recommended order prioritizes editorial relevance; repository activity remains a separate signal.

72 tools

Showing 72 tools

Default order: current editorial picks, then other current tools. Search covers descriptions, tags, ecosystems, capabilities, and trade-offs. Jump to results ↓

All installable tools

Submit a missing tool
Bug finders

PHPStan

Active

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

  • PHP
  • PHPStan
  • Static Analysis
Type
Analyzer
PHP
^7.4|^8.0
License
MIT
Install
composer require --dev phpstan/phpstan
Stars
14,118
Latest
2.2.16
Last commit
Last release
Quick pros & cons for PHPStan

ProPairs mature type analysis with a large extension ecosystem.

ConHigher rule levels often need annotations and gradual adoption.

Editorially reviewed

Bug finders

psalm

Active

A PHP static analysis tool for finding errors and security vulnerabilities in PHP applications

  • PHP
  • Static Analysis
Type
Analyzer
PHP
~8.1.31 || ~8.2.27 || ~8.3.16 || ~8.4.3 || ~8.5.0
License
MIT
Install
composer require --dev vimeo/psalm
Stars
5,896
Latest
7.0.0-beta23
Last commit
Last release
Quick pros & cons for psalm

ProCombines expressive types with taint and security analysis.

ConAdvanced checks add annotation and configuration work.

Editorially reviewed

Coding standards

PHP_CodeSniffer

Active

PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.

  • PHP
  • Static Analysis
Type
Analyzer
PHP
>=7.2.0
License
BSD-3-Clause
Install
composer require --dev phpcsstandards/php_codesniffer
Stars
1,557
Latest
4.0.4
Last commit
Last release
Quick pros & cons for PHP_CodeSniffer

ProSupports established standards and detailed custom sniffs.

ConLarge standards need configuration and can produce many findings.

Editorially reviewed

Fixers and refactoring

PHP CS Fixer

Active

A tool to automatically fix PHP Coding Standards issues

  • PHP
  • Static Analysis
Type
Fixer
PHP
^7.4 || ^8.0
License
MIT
Install
composer require --dev friendsofphp/php-cs-fixer
Stars
13,557
Latest
v3.95.27
Last commit
Last release
Quick pros & cons for PHP CS Fixer

ProOffers a broad catalog of automatic coding-standard fixes.

ConBroad rule changes can create large review diffs.

Editorially reviewed

Fixers and refactoring

Rector

Active

Instant Upgrades and Automated Refactoring of any PHP 5.3+ code

  • PHP
Type
Fixer
PHP
^7.4|^8.0
License
MIT
Install
composer require --dev rector/rector
Stars
10,436
Latest
2.6.7
Last commit
Last release
Quick pros & cons for Rector

ProAutomates PHP upgrades and repeatable AST refactoring.

ConGenerated refactors still require tests and code review.

Editorially reviewed

Architecture rules

Deptrac

Active

Keep your architecture clean.

  • PHP
Type
Analyzer
PHP
^8.2
License
MIT
Install
composer require --dev deptrac/deptrac
Stars
3,025
Latest
4.7.2
Last commit
Last release
Quick pros & cons for Deptrac

ProTurns layer and module boundaries into repeatable CI checks.

ConThe dependency map must stay aligned with the architecture.

Editorially reviewed

Libraries and building blocks

PHP Parser

Active

A PHP parser written in PHP

  • PHP
  • Static Analysis
Type
Library
PHP
>=7.4
License
BSD-3-Clause
Install
composer require nikic/php-parser
Stars
17,471
Latest
v5.9.0
Last commit
Last release
Quick pros & cons for PHP Parser

ProProvides a mature PHP AST and traversal API.

ConIt produces syntax structures, not high-level findings.

Editorially reviewed

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
16,827
Latest
v1.178.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

Fixers and refactoring

Laravel Pint

Active

Laravel projects that want a low-configuration formatter with framework-oriented defaults.

  • Code Quality
  • Laravel
  • PHP
Type
Fixer
PHP
^8.2.0
License
MIT
Pricing
Free and open source
Install
composer require laravel/pint --dev
Stars
3,170
Latest
v1.32.1
Last commit
Last release
Quick pros & cons for Laravel Pint

ProProvides Laravel-oriented formatting defaults with minimal configuration.

ConIts opinionated defaults offer less control than configuring PHP-CS-Fixer directly.

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,528
Latest
v3.12.2
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

Bug finders

jscpd

Active

Copy/paste detector for programming source code, supports 223 formats. AI-ready with token-efficient reporter, skill and MCP server.

  • Code Quality
  • Static Analysis
Type
Analyzer
License
MIT
Stars
6,314
Latest
v5.4.0
Last commit
Last release
Quick pros & cons for jscpd

ProDetects duplication across PHP and hundreds of other formats.

ConGenerated code and boilerplate need threshold tuning.

Editorially reviewed

Metrics and architecture

PHPInsights

Active

🔰 Instant PHP quality checks from your console

  • PHP
Type
Metrics
PHP
^8.3
License
MIT
Install
composer require --dev nunomaduro/phpinsights
Stars
5,637
Latest
v2.15.0
Last commit
Last release
Quick pros & cons for PHPInsights

ProSummarizes several PHP quality checks in one console report.

ConAggregate scores can hide why a rule matters.

Editorially reviewed

Official website currently unavailable

Side-by-side

Compare selected tools

Catalog fields are a starting point. Verify compatibility, license terms, and current documentation with each project.

Optional cloud platforms

Hosted analysis services

8 web-based services are listed separately from installable tools and packages. They are ordered alphabetically.

Hosted analysis services

Checkmarx

Checkmarx scans PHP source code for security vulnerabilities and helps teams review and remediate findings.

Type
Hosted Service
Quick pros & cons for Checkmarx

ProProvides deep PHP security scanning and remediation workflows.

ConCommercial hosting, setup, and licensing add overhead.

Editorially reviewed

Hosted analysis services

Codacy

Continuous code quality and security checks across repositories

Type
Hosted Service
Delivery
Hosted dashboard with SCM and CI integrations
Quick pros & cons for Codacy

ProAdds pull-request quality and security gates with little setup.

ConHosted rules and quality gates need project tuning.

Editorially reviewed

Hosted analysis services

DeepSource

Continuous PHP static analysis, SAST, and coverage reporting

  • Code Quality
  • PHP
  • Security
  • Static Analysis
Type
Hosted Service
Delivery
Hosted repository analysis with pull-request integrations
Quick pros & cons for DeepSource

ProCombines PHP analysis, coverage, and maintainability reporting.

ConCloud integration and vendor policy may not fit every team.

Editorially reviewed

Hosted analysis services

Laravelshift

the automated way to upgrade Laravel applications. Upgrade Laravel applications all the way from Laravel 4.2 to the latest version of Laravel

Type
Hosted Service
Quick pros & cons for Laravelshift

ProAutomates much of a Laravel version upgrade.

ConTeams must test and review the generated upgrade.

Editorially reviewed

Hosted analysis services

Qodana for PHPJetBrains Qodana service

PhpStorm-grade PHP inspections and quality gates in CI

  • Code Quality
  • PHP
  • Static Analysis
Type
Hosted Service
Delivery
Cloud reports with native or Docker-based PHP linters
Quick pros & cons for Qodana for PHP

ProRuns PhpStorm-grade inspections as CI quality gates.

ConLicensing and container setup add operational cost.

Editorially reviewed

Hosted analysis services

Snyk Code

Security-focused PHP static application security testing

  • PHP
  • Security
  • Static Analysis
Type
Hosted Service
Delivery
Hosted dashboard with SCM, CLI, IDE, and CI integrations
Quick pros & cons for Snyk Code

ProAdds security-focused PHP SAST to a hosted platform.

ConSAST covers only part of application security.

Editorially reviewed

Hosted analysis services

SonarQube Cloud

Hosted PHP quality gates, maintainability checks, and security analysis

  • Code Quality
  • PHP
  • Security
  • Static Analysis
Type
Hosted Service
Delivery
Hosted dashboard with repository and CI integrations
Quick pros & cons for SonarQube Cloud

ProProvides hosted PHP quality gates and security analysis.

ConService integration and rule tuning take time.

Editorially reviewed

Hosted analysis services

SymfonyInsight

Continuous PHP and Symfony quality, security, performance, and upgrade reports.

Type
Hosted Service
Pricing
Paid per-project plans; current pricing is published on the official site.
Quick pros & cons for SymfonyInsight

ProCombines PHP quality, security, performance, and upgrade reports with deeper Symfony understanding.

ConIt is a paid hosted service and its deepest analysis is Symfony-oriented.

Editorially reviewed

How this catalog stays current

Transparent, repository-backed data

The published site is regenerated from the same committed YAML records that produce the repository README.

01

Refresh metadata

Scheduled automation checks public GitHub, Packagist, release, and website metadata for catalog entries.

02

Validate selection

Tests validate curated picks and require manually maintained pros, cons, and evidence sources for every current entry.

03

Build and publish

A dependency-free Python generator turns committed catalog data into this static, searchable site.

See the source repository and catalog records to inspect the data or propose an improvement.

Project history

In Memoriam

Retired, superseded, or historically relevant projects remain preserved without being recommended as current choices.

View 31 preserved projects