Alternatives

Phpstan Doctrine alternatives for AI agents.

Compare similar skills by workflow fit, trust score, quality, GitHub adoption, maintenance, and install readiness.

Current skill

Phpstan Doctrine

Doctrine extensions for PHPStan

86
Quality
86
Trust
670
Stars
#1

Phpstan

Similarity 164Trust 95Excellent 100

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

14K starsJun 15, 2026 pushdevelopmentPHPStatic Analysis
$ npx skills add phpstan/phpstan
#2

Phpdoc Parser

Similarity 160Trust 93Excellent 100

Next-gen phpDoc parser with support for intersection types and generics

1.5K starsJun 10, 2026 pushdevelopmentPHPStatic Analysis
$ npx skills add phpstan/phpdoc-parser
#3

Phpstan Symfony

Similarity 147Trust 86Excellent 86

Symfony extension for PHPStan

791 starsJun 13, 2026 pushdevelopmentPHPStatic Analysis
$ npx skills add phpstan/phpstan-symfony
#4

Phpstan Phpunit

Similarity 146Trust 86Excellent 85

PHPUnit extensions and rules for PHPStan

531 starsJun 8, 2026 pushdevelopmentPHPStatic Analysis
$ npx skills add phpstan/phpstan-phpunit
#5

Phpstan Strict Rules

Similarity 139Trust 86Excellent 86

Extra strict and opinionated rules for PHPStan

699 starsJun 10, 2026 pushdevelopmentPHPStatic Analysis
$ npx skills add phpstan/phpstan-strict-rules
#6

Phan

Similarity 130Trust 91Excellent 98

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

5.6K starsMay 12, 2026 pushdevelopmentPHPStatic Analysis
$ npx skills add phan/phan
#7

Phpmd

Similarity 130Trust 96Excellent 100

PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD. PHPMD can be seen as an user friendly frontend application for the raw metrics stream measured by PHP Depend.

2.4K starsMay 23, 2026 pushdevelopmentPHPStatic Analysis
$ npx skills add phpmd/phpmd
#8

Phpat

Similarity 126Trust 89Excellent 96

✔️ PHP Architecture Tester - Easy architecture testing for PHP

1.3K starsMar 17, 2026 pushdevelopmentPHPStatic Analysis
$ npx skills add carlosas/phpat
#9

PHP CS Fixer

Similarity 124Trust 95Excellent 100

A tool to automatically fix PHP Coding Standards issues

14K starsJun 16, 2026 pushdevelopmentPHPStatic Analysis
$ npx skills add PHP-CS-Fixer/PHP-CS-Fixer
#10

PHP Parser

Similarity 124Trust 92Excellent 100

A PHP parser written in PHP

17K starsFeb 26, 2026 pushdevelopmentPHPStatic Analysis
$ npx skills add nikic/PHP-Parser
#11

Psalm

Similarity 123Trust 96Excellent 100

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

5.9K starsJun 11, 2026 pushdevelopmentPHPStatic Analysis
$ npx skills add vimeo/psalm
#12

SonarJS

Similarity 121Trust 89Excellent 97

SonarSource Static Analyzer for JavaScript and TypeScript

1.2K starsJun 14, 2026 pushdevelopmentTypeScriptStatic Analysis
$ npx skills add SonarSource/SonarJS
#13

PHP CodeSniffer

Similarity 120Trust 91Excellent 100

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

1.5K starsJun 5, 2026 pushdevelopmentPHPStatic Analysis
$ npx skills add PHPCSStandards/PHP_CodeSniffer
#14

Ruff

Similarity 120Trust 95Excellent 100

An extremely fast Python linter and code formatter, written in Rust.

48K starsJun 14, 2026 pushdevelopmentRustStatic Analysis
$ npx skills add astral-sh/ruff
#15

Infer

Similarity 119Trust 95Excellent 100

A static analyzer for Java, C, C++, and Objective-C

16K starsJun 13, 2026 pushdevelopmentOCamlStatic Analysis
$ npx skills add facebook/infer
#16

PHP CodeSniffer

Similarity 119Trust 84Strong 82

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

11K starsApr 1, 2024 pushdevelopmentPHPStatic Analysis
$ npx skills add squizlabs/PHP_CodeSniffer

How to choose

When should you switch?

Use an alternative when it has a clearer install path, higher trust score, fresher maintenance, or better platform fit for your current agent stack. Keep Phpstan Doctrine if it already passes your workflow test and repository review.

Next step

Compare top candidates side by side

Open the compare page, test the install commands in a sandbox, and check each repository before using a skill in production.