Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

open-southeners/vscode-laravel-pint

Repository files navigation

Laravel Pint for VS Code

demo

test CI publish CI codecov Visual Studio Marketplace Last Updated Visual Studio Marketplace Version Visual Studio Marketplace Rating Visual Studio Marketplace Downloads Open VSX Rating Open VSX Downloads

This extension is NOT official from the Laravel team. Take a look into the official project.

Integrates Laravel Pint into your VSCode projects for automatic code formatting.

Getting started

  1. Install the extension (it will automatically enable only for PHP files when the extension is enabled)
  2. Run the following command in a terminal or console at your project's path:
composer require laravel/pint --dev
  1. Finally, save any file and it will format it for you (remember to set up). Or press Ctrl + Shift + P on Windows/Linux (Cmd + Shift + P on Mac OS) and type "Format document using Laravel Pint" this will format the current opened file.

Features

  • pint.json autocompletion and validation
  • Formatter for PHP files that uses Laravel Pint locally, globally or within Docker (using Laravel Sail)
  • Format workspace files command to format all current active workspace PHP files

Partners

skore logo

License

Logo (icon) is property of Laravel Team or Laravel Pint project.

This project is open-sourced software licensed under the MIT license.

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /