Alternatives

PHP CodeSniffer alternatives for AI agents.

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

Current skill

PHP CodeSniffer

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

82
Quality
84
Trust
11K
Stars
#1

PHP CodeSniffer

Similarity 144Trust 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
#2

Phpstan

Similarity 132Trust 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
#3

PHP CS Fixer

Similarity 132Trust 95Excellent 100

A tool to automatically fix PHP Coding Standards issues

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

PHP Parser

Similarity 132Trust 92Excellent 100

A PHP parser written in PHP

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

Psalm

Similarity 131Trust 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
#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

Phpdoc Parser

Similarity 128Trust 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
#9

Phpmnd

Similarity 127Trust 78Strong 75

PHP Magic Number Detector

584 starsFeb 25, 2026 pushdevelopmentPHPStatic Analysis
$ npx skills add povils/phpmnd
#10

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
#11

Mago

Similarity 124Trust 94Excellent 100

Mago is a toolchain for PHP that aims to provide a set of tools to help developers write better code.

3.2K starsJun 15, 2026 pushdevelopmentRustStatic Analysis
$ npx skills add carthage-software/mago
#12

Phpstan Symfony

Similarity 123Trust 86Excellent 86

Symfony extension for PHPStan

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

Phpstan Strict Rules

Similarity 123Trust 86Excellent 86

Extra strict and opinionated rules for PHPStan

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

BackwardCompatibilityCheck

Similarity 122Trust 85Excellent 85

:ab: Tool to compare two revisions of a class API to check for BC breaks

597 starsMay 22, 2026 pushdevelopmentPHPStatic Analysis
$ npx skills add Roave/BackwardCompatibilityCheck
#15

Phpstan Phpunit

Similarity 122Trust 86Excellent 85

PHPUnit extensions and rules for PHPStan

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

Php Static Analysis Tools

Similarity 121Trust 87Excellent 95

A reviewed list of useful PHP static analysis tools

2.9K starsMay 7, 2026 pushdevelopmentStatic AnalysisClaude Code
$ npx skills add exakat/php-static-analysis-tools

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 PHP CodeSniffer 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.