Skip to content
PluginStats

PHP Mess Detector installs statistics

By Ecodes.io · VS Code Marketplace · Linters

VSCode plugin for PHP Mess Detector

View on VS Code Marketplace Fresh · Dec 6, 2026

PHP Mess Detector has 154,011 recorded installs on VS Code Marketplace, an increase of 0.3% over the past 30 days, ranking #1836 of 2,515 tracked listings.

Installs
154,011
Official API · Dec 6, 2026
7-day growth
+0.1%
+102 installs
30-day growth
+0.3%
+475 installs
90-day growth
—
Insufficient history
Rank
#1836
▼ 2 in 7 days

Rating: 5.00 / 5 from 7 ratings

About PHP Mess Detector

VSCode PHP Mess Detector

Build Status codecov Join the chat at https://gitter.im/sandhje/vscode-phpmd

Features

  • Analyze your PHP source code on save with PHP mess detector
  • No additional setup required if PHP is installed on your system
  • Customize which PHPMD rules are used
  • Supports custom PHPMD ruleset files

Installation

To install the extension: Press F1, type ext install vscode-phpmd

Using the built-in PHPMD PHAR

To use the built-in PHP mess detector you need to have PHP in your PATH. To test, open a shell or command window and type php -v, this should return "PHP x.x.x ...". If PHP is in your PATH you can directly use this extension, no further setup is required.

Using a custom PHPMD PHAR or executable

If you want to customize the default PHP mess detector command, e.g. you have PHP mess detector globally installed through composer or have PHP available on a different location, you can customize the command with the command setting.

Configuration

The following configuration options are available:

phpmd.command:

Customize the PHP mess detector command. If left empty the built-in PHPMD PHAR archive will be executed and PHP needs to be available on your PATH. If you want to use a different PHPMD PHAR you can customize the command here.

Examples:

To use PHPMD installed globally with composer on a windows machine set this setting to:

"phpmd.command": "C:/Users/{USER}/AppData/Roaming/Composer/vendor/bin/phpmd.bat"

Or to use your own PHPMD PHAR on a custom location:

"phpmd.command": "php C:/path/to/phpmd.phar"`

Security fix in version 1.3.0: Before version 1.3.0 it was possible to set phpmd.command through workspace settings. This unfortunately opened possibilities for a remote code execution attack. As such, since version 1.3.0, this setting is disabled at workspace level to address this issue. I do understand though that some users used this workspace setting in their day to day work therefore it is still possible to override the phpmd.command setting through workspace settings via the phpmd.unsafeCommand setting. This setting is disabled by default, use at your own risk, see the explanation at the phpmd.unsafeCommandEnabled setting.

phpmd.unsafeCommand:

Customize the PHP mess detector command from workspace settings. This setting is ignored by default if phpmd.unsafeCommandEnabled is not set to true.

Warning: Please be aware that using this setting opens a possibility for a remote code execution attack. See the explanation at the phpmd.unsafeCommandEnabled setting.

phpmd.unsafeCommandEnabled:

Enable customizing the PHP mess detector command from workspace settings. Default is false. This setting can't be set in workspace settings.

Warning: Please be aware that enabling this setting opens a possibility for a remote code execution attack. When opening a folder from an untrusted source, the opened folder could have a .vscode folder with a settings.json file defining the phpmd.unsafeCommand setting. The command configured there will be executed as soon as a php file is opened in the workspace. The author of the untrusted code could execute any command on your system through this setting, resulting in your system possibly being compromised. Use at your own risk.

phpmd.rules:

Customize the PHPMD ruleset files used. This option can also take the path to a custom PHPMD ruleset file. Use VS Code's workspace settings to control the rules or ruleset files per workspace. When setting a path to a ruleset file, and the path starts with "~/" this will be replaced with the OS homedir. The string "${workspaceFolder}" in a path to a ruleset file will be replaced with an absolute path to the folder in the workspace which relates to the file that is being validated. Refer to PHPMD's documentation for more information on the ruleset parameter.

Examples:

To use only the cleancode ruleset and skip all the others:

"phpmd.rules": "cleancode"

Pass a comma seperated list of rulesets:

"phpmd.rules": "cleancode,codesize"

Pass the path to a ruleset file:

"phpmd.rules": "C:/path/to/phpmd_config.xml"

Pass the path to a ruleset file located in the home directory:

"phpmd.rules": "~/phpmd_config.xml"

Pass the path to a ruleset file located in the workspace folder:

"phpmd.rules": "${workspaceFolder}/phpmd_config.xml"
phpmd.verbose:

Turn verbose logging on or off. All log entries can be viewed VS Code's output panel. Generally this can be turned off (default) unless you need to troubleshoot problems.

Examples:

To enable verbose logging:

"phpmd.verbose": true

System requirements

Troubleshooting

  • Turn on verbose logging through settings and check output
  • Ask a question on gitter
  • Found a bug? file an issue (include the logs)

Contributing

If you found a bug or can help with adding a new feature to this extension you can submit any code through a pull request. The requirements for a pull request to be accepted are:

  • Add unit tests for all new code (code coverage must not drop)
  • Add JSDoc comments to all "things"
  • Make sure there are no TSLint violations (see tslint.json)…

Description from the VS Code Marketplace listing.

  • diagnostics
  • linter
  • mess detector
  • php
  • phpmd

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

PHP Mess Detector installs on VS Code Marketplace, last 90 days: 154,011 installs as of Dec 6, 2026.PHP Mess DetectorInstalls on VS Code Marketplace · Last 90 days154,011installs153K153.2K153.4K153.6K153.8K154K154.2KSep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
PHP Mess Detector installs on VS Code Marketplace, last 90 days: 154,011 installs as of Dec 6, 2026.

7/30/90-day growth

PHP Mess Detector installs growth on VS Code Marketplace: +0.1% over 7 days, +0.3% over 30 days, 90-day growth unavailable.PHP Mess DetectorInstalls growth on VS Code Marketplace154,011installs now7-day growth+102 installs+0.1%30-day growth+475 installs+0.3%90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 6, 2026pluginstats.com
PHP Mess Detector installs growth on VS Code Marketplace: +0.1% over 7 days, +0.3% over 30 days, 90-day growth unavailable.

Ranking history

PHP Mess Detector VS Code Marketplace ranking history: currently #1836 (by installs).PHP Mess DetectorVS Code Marketplace ranking · by installs · Last 90 days#1836current rank#1828#1830#1832#1834#1836#1838Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec 6, 2026pluginstats.com
PHP Mess Detector VS Code Marketplace ranking history: currently #1836 (by installs).

Ratings over time

PHP Mess Detector ratings on VS Code Marketplace, last 90 days: 7 ratings as of Dec 6, 2026.PHP Mess DetectorRatings on VS Code Marketplace · Last 90 days7ratings6.26.46.66.877.27.47.67.8Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
PHP Mess Detector ratings on VS Code Marketplace, last 90 days: 7 ratings as of Dec 6, 2026.

Listing placement

All VS Code Marketplace2,515 listings · 126 pages · 1,259 shown · page 92, #20 (overall #1,840)
All VS Code Marketplace: every listing in installs order

Listing placement

Linters250 listings · 13 pages · page 10, #12 (overall #192)
Linters: every listing in installs order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (50)
Recent installs observations for PHP Mess Detector
Date (UTC)InstallsChange vs. previous
154,011+7
154,004+19
153,985+10
153,975+32
153,943+13
153,930+15
153,915+6
153,909+10
153,899+10
153,889+21
153,868+25
153,843+13
153,830+16
153,814—

Similar VS Code Marketplace Linters plugins

All 20 PHP Mess Detector alternatives

Data source

Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.

Listing: https://marketplace.visualstudio.com/items?itemName=ecodes.vscode-phpmd. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.