Skip to main content

Prettier - Code formatter with PHP support on VSCode

Jose CerrejonLess than 1 minuteDeveloperDeveloper

Prettier - Code formatter with PHP support on VSCode

prettier
prettier

Just a quick note: To get php support when you type 'format document' on the Command Palette, just run the next commands:


cd ~/.vscode/extensions/esbenp.prettier-vscode-x.x.x/ # x.x.x is the current version of the extension
npm install @prettier/plugin-php

Link: github.com/prettier/plugin-phpopen in new window