PHP formatter
Indent braces in a PHP snippet.
Processed in this browser. Nothing is sent to a server.
Result
How do I use PHP formatter?
Paste code. Indentation follows opening and closing braces.
What are the limits of PHP formatter?
It is not PHP-CS-Fixer and can miss alternative syntax.