Skip to content
PluginStats

PHPUnit installs statistics

By Elon Mallin · VS Code Marketplace · Testing

Run PHPUnit tests from VSCode.

View on VS Code Marketplace Fresh · Dec 6, 2026

PHPUnit has 216,432 recorded installs on VS Code Marketplace, an increase of 0.4% over the past 30 days, ranking #1443 of 2,515 tracked listings.

Installs
216,432
Official API · Dec 6, 2026
7-day growth
+0.1%
+183 installs
30-day growth
+0.4%
+832 installs
90-day growth
—
Insufficient history
Rank
#1443
▼ 3 in 7 days

Rating: 4.00 / 5 from 6 ratings

About PHPUnit

Latest Release Installs Rating

test workflow Open in Dev Containers code style: prettier

PHPUnit for VSCode

This extension aims to need zero config and to be highly configurable. If you have php in environment path and phpunit installed with composer or anywhere in your workspace as phpunit*.phar, zero config is needed. It will even fallback to spinning up a self-removing docker container to try and run your tests if it can't find php on your machine.

vscode-phpunit-demo

Features

  • Run tests with one command or hotkey based on open file (*.php or phpunit.xml) and cursor position
  • "quick pick" window is shown where more complicated selections are needed
  • Problems pane is populated with errors
  • Color output
  • Available commands:
  • PHPUnit Test
    • Tries to do the right thing (test class/method where cursor is or suite if file is phpunit.xml)
  • PHPUnit Test Nearest
  • PHPUnit Test Suite
  • PHPUnit Test Directory
  • PHPUnit Rerun Last Test
  • PHPUnit Stop Running Tests

Manual setup

  • Install phpunit in your workspace.
  • Common config options:
{
    "phpunit.php": "path/to/php",           // Skip to use php in env path
    "phpunit.phpunit": "path/to/phpunit",   // Skip to find in common places (vendor, *.phar)
    "phpunit.args": [
        "-c", "./phpunit.xml.dist"          // Any args, check `phpunit --help`
    ],
    "phpunit.paths": {                      // Map paths in remote environments.
        "/local/path": "/remote/path",      // ${workspaceFolder} is replaced as in tasks.json
        "${workspaceFolder}": "/remote/app"
    },
    "phpunit.envVars": {                      // A list of environment variables for phpunit command's execution
        "XDEBUG_CONFIG": "remove_enable=1",      // "key" = "value
    }
}

Zero config needed if you have php or docker in you environment path and phpunit in your project (composer vendor dir or *.phar file). See the configuration section in package.json for all values and their descriptions (highly recommened if you need advanced functionality).

Remote configs

For docker, vagrant, laravel-homestead, WSL or any other virtual/remote environment, please consider the Remote Development extension by Mircosoft. VSCode will run agains a remote directory and you can simply run your tests as you would locally.

Manual ssh
{
    "phpunit.ssh": "ssh root@localhost \"<command>\"",  // ssh command to connect to remote machine.
    "phpunit.paths": {
        "/local/path": "/remote/path",
        "${workspaceFolder}": "/app"
    }
}

<command> is populated by the extension. The final command could then be something like ssh root@localhost "php ./phpunit.phar -c phpunit.xml" depending on your settings.<br><br> Setup public/private keys (passwords won't work):<br> - Windows powershell ssh-keygen && cat $env:userprofile/.ssh/id_rsa.pub | ssh root@localhost 'cat >> .ssh/authorized_keys'<br> - Linux bash ssh-keygen && ssh-copy-id root@localhost<br><br> OpenSSH (ssh and ssh-keygen) is available on windows since late 2018. It's easy to install with powershell if it's not enabled.

Manual docker container
{
    "phpunit.docker.container": "container_name",   // Skip to select from running containers
    "phpunit.paths": {
        "${workspaceFolder}": "/app"                // Map your ${workspaceFolder} to where it
    }                                               // is in your container. Ex: /app
}
Manual docker image
{
    "phpunit.command": "docker run --rm -t -v ${pwd}:/app -w /app php:latest php",
    "phpunit.paths": {                  // ${pwd} (current directory) is mounted to /app
        "${workspaceFolder}": "/app"    // ${workspaceFolder} is mapped to /app
    }
}
Manual docker-compose service
{
    "phpunit.command": "docker-compose run --rm service_name",
    "phpunit.paths": {
        "${workspaceFolder}": "/app"                // Map your ${workspaceFolder} to where it
    }                                               // is in your container. Ex: /app
}

Examples

Run with (Cmd+Shift+P on OSX or Ctrl+Shift+P on Windows and Linux) and execute the PHPUnit Test command.

  • Test a function: Place cursor on a function and run.

vscode-phpunit-test-function

  • Test a class: Place cursor on class name and run.…

Description from the VS Code Marketplace listing.

  • docker
  • php
  • phpunit
  • ssh
  • test
  • unittest
  • xml

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

PHPUnit installs on VS Code Marketplace, last 90 days: 216,432 installs as of Dec 6, 2026.PHPUnitInstalls on VS Code Marketplace · Last 90 days216,432installs214.8K215K215.2K215.4K215.6K215.8K216K216.2K216.4K216.6KSep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
PHPUnit installs on VS Code Marketplace, last 90 days: 216,432 installs as of Dec 6, 2026.

7/30/90-day growth

PHPUnit installs growth on VS Code Marketplace: +0.1% over 7 days, +0.4% over 30 days, 90-day growth unavailable.PHPUnitInstalls growth on VS Code Marketplace216,432installs now7-day growth+183 installs+0.1%30-day growth+832 installs+0.4%90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 6, 2026pluginstats.com
PHPUnit installs growth on VS Code Marketplace: +0.1% over 7 days, +0.4% over 30 days, 90-day growth unavailable.

Ranking history

PHPUnit VS Code Marketplace ranking history: currently #1443 (by installs).PHPUnitVS Code Marketplace ranking · by installs · Last 90 days#1443current rank#1432#1434#1436#1438#1440#1442#1444#1446Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec 6, 2026pluginstats.com
PHPUnit VS Code Marketplace ranking history: currently #1443 (by installs).

Ratings over time

PHPUnit ratings on VS Code Marketplace, last 90 days: 6 ratings as of Dec 6, 2026.PHPUnitRatings on VS Code Marketplace · Last 90 days6ratings5.45.65.866.26.46.6Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
PHPUnit ratings on VS Code Marketplace, last 90 days: 6 ratings as of Dec 6, 2026.

Listing placement

All VS Code Marketplace2,515 listings · 126 pages · 1,258 shown · page 73, #7 (overall #1,447)
All VS Code Marketplace: every listing in installs order

Listing placement

Testing76 listings · 4 pages · page 4, #1 (overall #61)
Testing: 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 PHPUnit
Date (UTC)InstallsChange vs. previous
216,432+12
216,420+36
216,384+18
216,366+52
216,314+21
216,293+25
216,268+19
216,249+16
216,233+26
216,207+49
216,158+9
216,149+35
216,114+24
216,090—

Similar VS Code Marketplace Testing plugins

All 20 PHPUnit 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=emallin.phpunit. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.