🚧 Work in Progress! 🚧
Please note that this plugin is under active development, and might not be ready to run on production code yet.
If you're interested in contributing to the development of Prettier for PHP, you can follow the CONTRIBUTING guide from Prettier, as it all applies to this repository too.
To test it out on a PHP file:
- Clone this repository.
- Run
yarn. - Create a file called
test.php. - Run
yarn prettier test.phpto check the output.
yarn:
yarn add --dev prettier/prettier prettier/plugin-phpnpm:
npm install --save-dev prettier/prettier prettier/plugin-phpprettier --parser=php --write "**/*.php"
Mike Grip |
Christian Zosel |
Evilebot Tnawi |