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.

100
Quality
91
Trust
1.5K
Stars
#1

PHP CodeSniffer

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

Phpmnd

Similarity 127Trust 78Strong 75

PHP Magic Number Detector

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

Phpstan

Similarity 124Trust 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
#4

PHP CS Fixer

Similarity 124Trust 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
#5

PHP Parser

Similarity 124Trust 92Excellent 100

A PHP parser written in PHP

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

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

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

Phan

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

Phpmd

Similarity 122Trust 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
#10

Phpdoc Parser

Similarity 120Trust 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
#11

Phpat

Similarity 118Trust 89Excellent 96

✔️ PHP Architecture Tester - Easy architecture testing for PHP

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

Setup Php

Similarity 116Trust 95Excellent 100

GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.

3.2K starsJun 13, 2026 pushdevelopmentTypeScriptStatic Analysis
$ npx skills add shivammathur/setup-php
#13

Fallow

Similarity 115Trust 91Excellent 100

Codebase intelligence for TypeScript and JavaScript. Free static layer: unused code, duplication, circular deps, complexity hotspots, architecture boundaries. Optional paid runtime layer: hot-path review and cold-path deletion evidence from real production traffic. Rust-native, sub-second, zero-config framework support.

3.6K starsJun 14, 2026 pushdevelopmentRustStatic Analysis
$ npx skills add fallow-rs/fallow
#14

Phpstan Symfony

Similarity 115Trust 86Excellent 86

Symfony extension for PHPStan

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

Phpstan Strict Rules

Similarity 115Trust 86Excellent 86

Extra strict and opinionated rules for PHPStan

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

Phpstan Doctrine

Similarity 115Trust 86Excellent 86

Doctrine extensions for PHPStan

670 starsJun 10, 2026 pushdevelopmentPHPStatic Analysis
$ npx skills add phpstan/phpstan-doctrine

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.