• PHP 8.6
  • LSP
  • Debugger
  • Profiler
  • Todos

PhpThunder

A blazing-fast PHP extension for VS Code — Language Server, Formatter, Debugger, Composer tools, todo treeviews & profiling in one.

One extension, the whole toolchain

Professional PHP development in VS Code

Language Server

Auto-completion, go-to-definition, hover docs, find references, diagnostics, rename & more. Supports PHP 5.6–8.6.

Code Formatter

Highly configurable formatter with fine-grained control over arrays, parameters, control structures & inline width.

Built for Speed

Written in Go. Built from scratch for minimal latency and maximum reliability.

Multi-PHP Support

Named interpreter profiles, configurable per workspace folder. Status bar indicator shows active version.

Composer Support

Detects composer.json changes, rebuilds vendor intelligence, and keeps project indexing in sync with your dependencies.

Todo Treeview

Surface TODOs and related task notes in a treeview so open work is easy to review, jump to, and keep organized.

Test Runner

Integrated PHPUnit & Pest detection with results panel, run & debug individual tests.

Debugger (Xdebug)

CLI, Web & Attach modes. Built-in PHP server, auto-Xdebug config, framework detection (Laravel, Symfony).

Profiling

Profile extension activity to spot slow scans, costly actions, and other hotspots before they impact your workflow.

Feature examples

Examples from a PHP project

PHP code completion inside a class, showing member signatures, source classes and starred suggestions.

Completion results with signatures, declaring classes and starred suggestions.

Code completion for project dependencies

Suggestions include PHP core, project source files and packages in vendor/. Existing use statements help resolve names. PHPDoc templates, array shapes, callable signatures and magic methods are also used to infer types in higher-order code.

  • Add missing use statements when accepting a suggestion
  • View documentation on hover, including for dependencies
  • Go to definitions with F12 and find references with Shift+F12
  • Select PHP versions from 5.6 to 8.6 per workspace folder
PHP code showing closing-brace hints for a foreach loop, function and class.

Closing-brace hints label the construct that opened each long block.

Keep track of long blocks Pro

PhpThunder labels the closing brace with the construct that opened the block, helping you follow nested code without scrolling back to its start.

An Xdebug session paused at a breakpoint, with the call stack, current line and PHP preview visible.

A paused session showing the call stack, breakpoint and response preview.

Debug PHP with Xdebug

PhpThunder can detect the interpreter, create a missing Xdebug ini file, start the server and manage the connection. Set a breakpoint and press F5 to start debugging.

  • Debug CLI scripts, local web applications or attached sessions
  • Configure Xdebug for the selected PHP binary
  • Detect Laravel, Symfony and custom entry points
  • View variable values inline in the editor Pro
The Test Explorer showing a PHPUnit suite as a tree of classes and methods, with a selected test and its failure output.

PHPUnit and Pest tests in one tree, with test results available in the editor.

Run and debug tests in the editor

PHPUnit and Pest are detected from the project structure. Data-provider cases appear as separate entries, and projects using both runners show them in the same tree.

  • Run an individual test from the editor gutter
  • Debug tests using breakpoints
  • Configure automatic test-runner detection per workspace
The profiler panel showing saved cachegrind profiles, a call chart and a table of functions with self time and call counts.

A cachegrind profile displayed as a call chart and a table ranked by self time.

Inspect PHP performance profiles Pro

Profile the current file or an HTTP request. The results panel shows call-time breakdowns, functions with the highest cost and call counts. Profiles are saved to disk for later comparison.

  • Start profiling the current file with a command
  • Profile web routes, controllers and middleware
  • Store profiles in .phpthunder/profiles/, which is automatically added to Git ignore
The PHP TODO tree view grouped by TODO, FIXME, NOTE, OPTIMIZE and DEPRECATED, with a comment selected in the editor.

A tree view of supported task tags, grouped by tag.

Review task comments in one panel

Task comments from across the workspace are grouped by tag. Select an entry to open its location in the editor.

  • TODO, FIXME, BUG, HACK, NOTE, OPTIMIZE and DEPRECATED
  • Navigate to the location of a task comment in the editor
  • Available for all users

Quick start

Install and start a debug session

  1. Install the extension

    Install the extension from the Marketplace. For offline machines, install a .vsix package.

  2. Pick the interpreter and PHP version

    Run PhpThunder: Configure PHP Interpreters, then PhpThunder: Select PHP Version. These settings are stored per workspace folder, allowing different projects to use different PHP versions.

  3. Press F5

    Use the launch configuration shown here, set a breakpoint in the gutter and start the session. For a web project, set mode to "web".

Read the getting-started guide

ext install Sailantis.phpthunder
{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "phpThunder",
      "request": "launch",
      "name": "Launch PHP script",
      "program": "${file}",
      "cwd": "${workspaceFolder}",
      "port": 9003
    }
  ]
}
{
  "phpThunder.phpVersion": "8.3",
  "phpThunder.activeInterpreter": "PHP 8.3"
}

Free vs Pro

Compare the free and Pro features

The free tier includes core PHP development tools. Pro adds additional refactoring, formatting and profiling features. New installations include a 30-day Pro trial.

Free

No account or license required; no expiry.

  • Language server features: completion, hover, definitions and references
  • Diagnostics, quick fixes and import organization
  • PSR-12 formatter with EditorConfig support
  • Xdebug support for CLI, web and attach sessions
  • PHPUnit and Pest in the Test Explorer
  • Composer helpers and the TODO treeview

Pro

30-day trial

One-time purchase; includes one year of updates.

  • Rename symbols throughout a project
  • Generate classes, interfaces and traits
  • Generate getters, setters and missing methods
  • Customize formatting styles
  • Use closing-brace hints to follow long blocks
  • Profile the current file and web requests
  • View variable values inline while debugging
  • Star completion suggestions and use Pro code fixes

See the full feature comparison in Free vs Pro.

Pricing

Pay once, keep what you buy

One payment. You own the version you buy, plus a year of updates — and the price per license drops as your team grows.

Individual

1 - 9 licenses
€5

per license, one-time

Standard

  • All Pro features
  • 5 devices per license
  • 12 months of updates
  • Yours permanently
Buy from €5

Team

10 - 29 licenses
€4

per license, one-time

Save 20%

  • All Pro features
  • 5 devices per license
  • 12 months of updates
  • Yours permanently
Buy from €40

Business

30+ licenses
€3

per license, one-time

Save 40%

  • All Pro features
  • 5 devices per license
  • 12 months of updates
  • Yours permanently
Buy from €90
You own what you buy. A license is a single payment that includes 12 months of new releases. Every release published in that year is yours to keep, and the version you were on when you bought is yours regardless. When the window closes the license never stops working — you simply stop receiving new versions until you extend, and nothing renews on its own.

Need more than 100 licenses? Contact us

Get started

Install it and open a PHP file

The free tier needs no license and no sign-in. Run the command below in the editor for automatic updates, or grab a manual build for the machine that cannot reach the marketplace.

ext install Sailantis.phpthunder