Prettier PHP
Format PHP source consistently without changing its intent.
prettier · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
In a Node.js project, install @prettier/[email protected]. Run formatting over a small PHP assignment and output call.
What we tested
0.26.0. Run formatting over a small PHP assignment and output call. Reformatted the PHP assignment and preserved the echo statement.