Prettier PHP

PHP

Prettier plugin support for PHP files — consistent formatting across PHP projects.

by prettier

1M+
Installs

One-click install

More clients (VS Code Insiders, Antigravity…)

Antigravity (Google) and other VS Code forks support the same Marketplace — search for Prettier PHP inside the IDE.

CLI install

Run this command in your terminal to install the extension:

code --install-extension prettier.prettier-vscode

Install from VS Code

  1. Open VS Code and press Ctrl+Shift+X (or Cmd+Shift+X on macOS) to open the Extensions panel.
  2. Search for prettier.prettier-vscode.
  3. Click Install and reload if prompted.

Details

Publisher: prettier
Category: PHP
Installs: 1M+
Extension ID: prettier.prettier-vscode