prettier / plugin-php

Prettier PHP Plugin
https://loilo.github.io/prettier-php-playground/
MIT License
1.75k stars 130 forks source link

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

Open trymeouteh opened 3 months ago

trymeouteh commented 3 months ago

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.

Digitalone1 commented 3 months ago

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.

flexchar commented 1 month ago

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