Skip to content

czosel/plugin-php

 
 

Repository files navigation

🚧 Work in Progress! 🚧

Prettier PHP

Prettier PHP Plugin

Gitter Travis npm version code style: prettier Follow+Prettier+on+Twitter

WORK IN PROGRESS

Please note that this plugin is under active development, and might not be ready to run on production code yet.

Contributing

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.php to check the output.

Install

yarn:

yarn add --dev prettier/prettier prettier/plugin-php

npm:

npm install --save-dev prettier/prettier prettier/plugin-php

Use

prettier --write "**/*.php"

Maintainers


Mike Grip

Christian Zosel

Evilebot Tnawi

About

Prettier PHP Plugin

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 59.4%
  • PHP 40.6%