Skip to content
PluginStats

PHPUnit & Pest Test Explorer installs statistics

By Recca0120 · VS Code Marketplace · Debuggers

Run PHPUnit and Pest tests in VS Code with the native Test Explorer. Supports Docker, SSH, Laravel Sail, ParaTest, and Xdebug step-debugging.

View on VS Code Marketplace Fresh · Dec 6, 2026

PHPUnit & Pest Test Explorer has 301,950 recorded installs on VS Code Marketplace, an increase of 1.1% over the past 30 days, ranking #1167 of 2,515 tracked listings.

Installs
301,950
Official API · Dec 6, 2026
7-day growth
+0.3%
+856 installs
30-day growth
+1.1%
+3.2K installs
90-day growth
—
Insufficient history
Rank
#1167
▼ 3 in 7 days

Rating: 5.00 / 5 from 23 ratings

About PHPUnit & Pest Test Explorer

PHPUnit & Pest Test Explorer for VS Code

Version Installs License

繁體中文

Run PHPUnit and Pest tests directly in VS Code using the native Test Explorer UI.

PHPUnit

Quick Start

  1. Install the extension from the VS Code Marketplace
  2. Open a PHP project that contains a phpunit.xml or phpunit.xml.dist
  3. Tests appear automatically in the Test Explorer sidebar — click to run

PHPUnit and Pest are auto-detected from vendor/bin. No configuration needed in most projects.

Requires VS Code 1.93 or later.

Features

  • Test Explorer integration — discover, run, and debug tests from the sidebar
  • PHPUnit 7 – 12 & Pest 1 – 4 — broad version support
  • Auto-detect binary — reads composer.json to use vendor/bin/pest for Pest projects automatically, and offers to switch phpunit.phpunit to it when Pest refuses the PHPUnit binary
  • Auto-reload — reloads all tests when phpunit.xml (or the file given with -c), composer.json or composer.lock changes
  • Inherited tests — tests a class gets from abstract parents and traits are listed under it, and update when the parent or trait changes
  • Unsaved edits — tests typed into an open test file appear before you save it
  • Colored output — syntax-highlighted results with embedded PHP source snippets
  • Clickable stack traces — jump to file:line directly from error output
  • Remote environments — Docker, SSH, Laravel Sail, DDEV via custom commands
  • Multi-workspace Docker — single shared container for multiple workspace folders
  • Parallel execution — ParaTest support
  • Xdebug debugging — step-through debugging with one click
  • Continuous runs — auto-run tests on file changes
  • Errors and failures — an exception is reported as an error, a failed assertion as a failure
  • Code coverage — Run with Coverage shows line and method coverage (requires Xdebug)
  • Outdated results — changing a test file marks its last results as outdated
  • Configuration errors — a malformed phpunit.xml is reported with its file and line, and its tests are not listed until it is fixed
  • Pest ->only() — the tests ->only() keeps from running are shown as skipped
  • Settings from the Test Explorer — the gear of a run profile opens the extension's settings; in a multi-root workspace each folder shows a busy indicator while its tests reload

Pest

Settings

Add to .vscode/settings.json. All settings use the phpunit.* prefix.

{
  // Path to the PHP binary (default: "php")
  "phpunit.php": "php",

  // Path to PHPUnit or Pest binary
  // Auto-detected from composer.json: uses "vendor/bin/pest" if pestphp/pest is a dependency,
  // otherwise defaults to "vendor/bin/phpunit". Only set this if auto-detection is not sufficient.
  "phpunit.phpunit": "vendor/bin/phpunit",

  // Custom command template
  // Variables: ${php}, ${phpargs}, ${phpunit}, ${phpunitargs}, ${cwd}
  //   ${workspaceFolder}         — absolute path to the workspace folder
  //   ${workspaceFolderBasename} — folder name only (e.g. "myproject")
  //   ${userHome}                — user home directory
  //   ${pathSeparator}           — OS path separator ("/" or "\")
  "phpunit.command": "\"${php}\" ${phpargs} \"${phpunit}\" ${phpunitargs}",

  // Extra arguments passed to PHPUnit
  "phpunit.args": [],

  // Path mappings for remote environments { "local/path": "remote/path" }
  "phpunit.paths": {},

  // Environment variables set before running
  "phpunit.environment": {},

  // Save all open files before running tests (default: false)
  "phpunit.saveBeforeTest": false,

  // Output format preset: "collision" (detailed per-test), "progress" (dot-progress), or "pretty" (per-test without icons)
  "phpunit.output.preset": "collision",

  // Override individual format fields from the preset (see phpunit package docs)
  "phpunit.output.format": {},

  // Clear debug output channel before each run (default: true)
  "phpunit.clearDebugOutputOnRun": true,

  // Control when Test Results panel opens automatically (VS Code built-in setting):
  // - "openOnTestStart"    — open as soon as a run starts
  // - "openOnTestFailure"  — open only when a test fails (useful for seeing dd() output)
  // - "neverOpen"          — never open automatically
  // "testing.openTesting": "openOnTestFailure"

  // launch.json configuration name for debugging
  "phpunit.debuggerConfig": "",

  // Xdebug port for debugging. 0 (default) uses the port of the debuggerConfig
  // launch configuration, or a free port when no debuggerConfig is set
  "phpunit.xdebugPort": 0
}

Configuration Examples

Local

For most local projects, zero configuration is needed. To use a different test runner:

// Pest
{ "phpunit.phpunit": "vendor/bin/pest" }

// Laravel Artisan
{ "phpunit.phpunit": "artisan test" }

// ParaTest (parallel execution)
{ "phpunit.phpunit": "vendor/bin/paratest" }
Docker

When running tests inside a Docker container, you need two things:…

Description from the VS Code Marketplace listing.

  • keybindings
  • laravel
  • pest
  • php
  • phpunit
  • test

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 & Pest Test Explorer installs on VS Code Marketplace, last 90 days: 301,950 installs as of Dec 6, 2026.PHPUnit & Pest Test ExplorerInstalls on VS Code Marketplace · Last 90 days301,950installs296K297K298K299K300K301K302KSep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
PHPUnit & Pest Test Explorer installs on VS Code Marketplace, last 90 days: 301,950 installs as of Dec 6, 2026.

7/30/90-day growth

PHPUnit & Pest Test Explorer installs growth on VS Code Marketplace: +0.3% over 7 days, +1.1% over 30 days, 90-day growth unavailable.PHPUnit & Pest Test ExplorerInstalls growth on VS Code Marketplace301,950installs now7-day growth+856 installs+0.3%30-day growth+3,191 installs+1.1%90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 6, 2026pluginstats.com
PHPUnit & Pest Test Explorer installs growth on VS Code Marketplace: +0.3% over 7 days, +1.1% over 30 days, 90-day growth unavailable.

Ranking history

PHPUnit & Pest Test Explorer VS Code Marketplace ranking history: currently #1167 (by installs).PHPUnit & Pest Test ExplorerVS Code Marketplace ranking · by installs · Last 90 days#1167current rank#1160#1162#1164#1166#1168#1170Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec 6, 2026pluginstats.com
PHPUnit & Pest Test Explorer VS Code Marketplace ranking history: currently #1167 (by installs).

Ratings over time

PHPUnit & Pest Test Explorer ratings on VS Code Marketplace, last 90 days: 23 ratings as of Dec 6, 2026.PHPUnit & Pest Test ExplorerRatings on VS Code Marketplace · Last 90 days23ratings2222.222.422.622.823Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
PHPUnit & Pest Test Explorer ratings on VS Code Marketplace, last 90 days: 23 ratings as of Dec 6, 2026.

Listing placement

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

Listing placement

Debuggers216 listings · 11 pages · page 6, #7 (overall #107)
Debuggers: every listing in installs order

Listing placement

Testing76 listings · 4 pages · page 3, #12 (overall #52)
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 & Pest Test Explorer
Date (UTC)InstallsChange vs. previous
301,950+93
301,857+156
301,701+140
301,561+123
301,438+165
301,273+133
301,140+46
301,094+48
301,046+100
300,946+167
300,779+141
300,638+114
300,524+134
300,390—

Similar VS Code Marketplace Debuggers plugins

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