Alternatives

Phpstan alternatives for AI agents.

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

Current skill

Phpstan

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

100
Quality
100
Trust
14K
Stars
#1

Phpdoc Parser

Similarity 169Trust 100Excellent 100

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

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

Phan

Similarity 140Trust 100Excellent 100

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

Phpmd

Similarity 138Trust 100Excellent 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
#4

PHP Parser

Similarity 133Trust 100Excellent 99

A PHP parser written in PHP

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

PHP CS Fixer

Similarity 133Trust 100Excellent 100

A tool to automatically fix PHP Coding Standards issues

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

Psalm

Similarity 132Trust 100Excellent 100

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

5.8K starsJun 8, 2026 pushdevelopmentPHPStatic Analysis
$ npx skills add vimeo/psalm
#7

Infer

Similarity 127Trust 100Excellent 100

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

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

Checkstyle

Similarity 126Trust 100Excellent 100

Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.

8.9K starsJun 8, 2026 pushdevelopmentJavaStatic Analysis
$ npx skills add checkstyle/checkstyle
#9

Gosec

Similarity 126Trust 100Excellent 100

Go security checker

8.9K starsJun 3, 2026 pushdevelopmentGoStatic Analysis
$ npx skills add securego/gosec
#10

Pylint

Similarity 126Trust 100Excellent 100

It's not just a linter that annoys you!

5.7K starsJun 6, 2026 pushdevelopmentPythonStatic Analysis
$ npx skills add pylint-dev/pylint
#11

Revive

Similarity 126Trust 100Excellent 100

πŸ”₯ ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint

5.5K starsJun 3, 2026 pushdevelopmentGoStatic Analysis
$ npx skills add mgechev/revive
#12

NullAway

Similarity 125Trust 100Excellent 100

A tool to help eliminate NullPointerExceptions (NPEs) in your Java code with low build-time overhead

4.1K starsJun 5, 2026 pushdevelopmentJavaStatic Analysis
$ npx skills add uber/NullAway
#13

Spotbugs

Similarity 125Trust 100Excellent 100

SpotBugs is FindBugs' successor. A tool for static analysis to look for bugs in Java code.

3.9K starsJun 10, 2026 pushdevelopmentJavaStatic Analysis
$ npx skills add spotbugs/spotbugs
#14

I18n Tasks

Similarity 124Trust 100Excellent 100

Manage translation and localization with static analysis, for Ruby i18n

2.2K starsMay 30, 2026 pushdevelopmentRubyStatic Analysis
$ npx skills add glebm/i18n-tasks
#15

Pytype

Similarity 124Trust 100Excellent 91

A static type analyzer for Python code

5.0K starsMar 16, 2026 pushdevelopmentPythonStatic Analysis
$ npx skills add google/pytype
#16

PHP CodeSniffer

Similarity 121Trust 100Excellent 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

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