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
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
usestatements 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
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.
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
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
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
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,OPTIMIZEandDEPRECATED- Navigate to the location of a task comment in the editor
- Available for all users
Quick start
Install and start a debug session
-
Install the extension
Install the extension from the Marketplace. For offline machines, install a
.vsixpackage. -
Pick the interpreter and PHP version
Run
PhpThunder: Configure PHP Interpreters, thenPhpThunder: Select PHP Version. These settings are stored per workspace folder, allowing different projects to use different PHP versions. -
Press F5
Use the launch configuration shown here, set a breakpoint in the gutter and start the session. For a web project, set
modeto"web".
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 trialOne-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
per license, one-time
Standard
- All Pro features
- 5 devices per license
- 12 months of updates
- Yours permanently
Team
per license, one-time
Save 20%
- All Pro features
- 5 devices per license
- 12 months of updates
- Yours permanently
Business
per license, one-time
Save 40%
- All Pro features
- 5 devices per license
- 12 months of updates
- Yours permanently
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