Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>PHP IntelliSense PRONew to Visual Studio Code? Get it now.
PHP IntelliSense PRO

PHP IntelliSense PRO

Alex Newman USA

|
183 installs
| (2) | Free
Basic PHP IntelliSense, snippets, formatting.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PHP IntelliSense PRO

Lightweight PHP helper for Visual Studio Code: basic IntelliSense, short PHP snippets, and simple formatting through php-cs-fixer.

The extension is intentionally simple. It does not try to replace a full PHP language server, but it helps with common PHP code while staying easy to understand and fast to use.

Features

  • Basic PHP completions for keywords, common functions and superglobals.
  • Short snippet commands for classes, constructors, PDO usage, database connection, registration and login.
  • Document formatting with php-cs-fixer.
  • Support for older VS Code versions from 1.74.0.

Usage

Open a PHP file and start typing. Common PHP completions appear automatically.

For snippets, type the full prefix and press Tab.

phpclass

Snippets

Use these short commands in PHP files.

Prefix Description
phpclass PHP class template
phpctor Constructor template
phppdo PDO prepare, execute and fetch template

phpclass

class ClassName
{

}

phpctor

public function __construct()
{

}

phppdo

$stmt = $db->prepare($sql);
$stmt->execute([$params]);
$result = $stmt->fetch(PDO::FETCH_ASSOC);

Formatting

Formatting uses php-cs-fixer. Install it separately and make sure the executable is available from the terminal.

You can change the executable path in VS Code settings:

{
  "phpIntelliSense.phpCsFixerPath": "php-cs-fixer"
}

Requirements

  • Visual Studio Code 1.74.0 or newer.
  • php-cs-fixer is optional and needed only for formatting.

Troubleshooting

If you see an error like php.exe --version or php.exe is not recognized, it usually comes from another installed PHP language-server extension. This extension does not start a PHP language server.

For formatting issues, check that php-cs-fixer is installed and the phpIntelliSense.phpCsFixerPath setting points to the correct executable.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft