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

Project Samples

Project Activity

See All Activity >

Categories

Code Formatters

License

MIT License

Follow Prettier PHP Plugin

Prettier PHP Plugin Web Site

You Might Also Like
Control remote support software for remote workers and IT teams Icon
Control remote support software for remote workers and IT teams

Raise the bar for remote support and reduce customer downtime.

ConnectWise ScreenConnect, formerly ConnectWise Control, is a remote support solution for Managed Service Providers (MSP), Value Added Resellers (VAR), internal IT teams, and managed security providers. Fast, reliable, secure, and simple to use, ConnectWise ScreenConnect helps businesses solve their customers' issues faster from any location. The platform features remote support, remote access, remote meeting, customization, and integrations with leading business tools.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Prettier PHP Plugin!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Code Formatters

Registered

2023-04-25