plugin-php icon indicating copy to clipboard operation
plugin-php copied to clipboard

Add PHP as an official Prettier language - No More Prettier Plugin

Open trymeouteh opened this issue 1 year ago • 2 comments
trafficstars

Please add PHP as an official language supported in the main Prettier package.

For me to get Prettier formatting when working with PHP, I need to install the prettier NPM package and this plugin package from NPM and create a .prettierrc file and setup the .prettierrc file unlike the other languages like HTML, CSS and JS were I just simply install the VSCode extension and configure the extension in the VSCode settings.

PHP is a popular web language and is used by many CMS like Wordpress and Drupal.

trymeouteh avatar Jul 31 '24 00:07 trymeouteh

That won't likely happen. This plugin is not even fully compatible with latest PHP 8.3.

I switched to https://github.com/lkrms/vscode-pretty-php extension on Code.

Digitalone1 avatar Aug 20 '24 09:08 Digitalone1

@trymeouteh please help us support PHP at the level Prettier supports HTML, CSS and JS and the chances of that happening 10x-es. 🙏

flexchar avatar Oct 15 '24 09:10 flexchar