Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary. This plugin adds support for the PHP language to Prettier. We're considering the plugin to be stable when pure PHP files are formatted. Formatting of files that contain mixed PHP and HTML is still considered unstable. This package exposes a standalone.js that can be used alongside Prettier's own standalone.js to make the PHP plugin work in browsers without a compile step.
Features
- Use with Node.js
- Use in the Browser
- You can give the plugin a try in our playground
- We're considering the plugin to be stable when pure PHP files are formatted
- This plugin adds support for the PHP language to Prettier
- It enforces a consistent style by parsing your code
Categories
Code FormattersLicense
MIT LicenseFollow Prettier PHP Plugin
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Prettier PHP Plugin!