Format your Laravel PHP code with one click using Laravel Pint. This extension integrates the Laravel Pint code style fixer into VS Code, allowing you to quickly clean up and standardize your code directly from the editor.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Format your Laravel PHP code with one click using Laravel Pint.
This VS Code extension allows you to run Pint directly on your files from the editor — no terminal needed.
✨ Features
Run Laravel Pint on the currently open file
Supports Windows, macOS, and Linux
Automatically detects local vendor/bin/pint
Fallback to global pint if available
Lightweight and fast (powered by esbuild)
🚀 Usage
Open a Laravel project (with Pint installed via Composer)
Open a PHP file
Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P)