Alternatives

PHP Parser alternatives for AI agents.

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

Current skill

PHP Parser

A PHP parser written in PHP

100
Quality
91
Trust
17K
Stars
#1

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

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

Psalm

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

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

Ts Morph

Similarity 125Trust 94Excellent 100

TypeScript Compiler API wrapper for static analysis and programmatic code changes.

6.1K starsApr 12, 2026 pushdevelopmentTypeScriptStatic Analysis
$ npx skills add dsherret/ts-morph
#6

Mago

Similarity 124Trust 96Excellent 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

Shellcheck

Similarity 120Trust 93Excellent 100

ShellCheck, a static analysis tool for shell scripts

40K starsJun 11, 2026 pushdevelopmentHaskellStatic Analysis
$ npx skills add koalaman/shellcheck
#8

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

SwiftLint

Similarity 119Trust 92Excellent 100

A tool to enforce Swift style and conventions.

20K starsJun 13, 2026 pushdevelopmentSwiftStatic Analysis
$ npx skills add realm/SwiftLint
#10

Ast Grep

Similarity 118Trust 93Excellent 100

⚡A CLI tool for code structural search, lint and rewriting. Written in Rust

15K starsJun 15, 2026 pushdevelopmentRustStatic Analysis
$ npx skills add ast-grep/ast-grep
#11

Checkstyle

Similarity 118Trust 97Excellent 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 16, 2026 pushdevelopmentJavaStatic Analysis
$ npx skills add checkstyle/checkstyle
#12

Sonarqube

Similarity 118Trust 95Excellent 100

Continuous Inspection

11K starsJun 12, 2026 pushdevelopmentJavaStatic Analysis
$ npx skills add SonarSource/sonarqube
#13

Hadolint

Similarity 118Trust 91Excellent 100

Dockerfile linter, validate inline bash, written in Haskell

12K starsJun 11, 2026 pushdevelopmentHaskellStatic Analysis
$ npx skills add hadolint/hadolint
#14

Gosec

Similarity 117Trust 94Excellent 100

Go security checker

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

Revive

Similarity 117Trust 97Excellent 100

🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint

5.5K starsJun 11, 2026 pushdevelopmentGoStatic Analysis
$ npx skills add mgechev/revive
#16

Error Prone

Similarity 117Trust 94Excellent 100

Catch common Java mistakes as compile-time errors

7.2K starsJun 15, 2026 pushdevelopmentJavaStatic Analysis
$ npx skills add google/error-prone

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