Why Use It

Formatting Show




FAQs & Tips

Update History

Award Gallery


License Policy



PHP Source Code Formatter

The PHP Code Formatter tool reorganizes PHP source code files to neatly format and indent code blocks according to the PHP programming language syntax and your preferred style options, such as including indentation, comment style, line wrapping, etc. An example of PHP Formatter's results can be seen from PHP Source Code Formatting Show.

The PHP Formatter of SourceFormatX Source Code Formatter is based on a powerful PHP parser engine so you can exactly control the formatting details of code blocks, comments and strings whatever you want. SourceFormatX PHP Formatter is ideal for making messy and obtuse code clear. It allows all of your source code to be presented in a consistent format of your choosing, it provides numerous source code format style and operations options as well as batch or individual file processing.

Try PHP Formatter free trial now! It will format any PHP source code to your preferred style in a matter of seconds!

PHP Source Code Formatter Features

  • Indent the Functions, Comments, Strings and Other Elements with User-Defined Options.
  • Specification of Indentation Step Distance.
  • Brace Style Transformation.
  • Intelligent Line Breaks and Wrapping.
  • Intelligent Line Combination.
  • Alignment and Sorting of Source Code Elements.
  • Intelligent Single Line Comments, Multi-Line Comments Indentation and Elimination.
  • Adding Header and Footer Templates.
  • Support for PHPDocumentor, Doxygen, CCDoc Documentation.
  • Uniform White Space Conventions.
  • Uniform String Conventions.
  • Tab2Space and Space2Tab Conversion.
  • Batch Formatting Processing.
  • Integrations for Text Editors: UltraEdit, Textpad, Editplus...
  • Powerful GUI and Command Line Interface.
  • Conversion between Unicode, ASCII, Unix, Mac Character Encodings.
  • Obfuscate and Scramble PHP Source Code to make code difficult to Read and Comprehend.

Some conventional PHP Formatter tools use special string processing methods to implement the formatting process. This can work pretty well for many sample files. But it often fails, even mess the original files when multi-line strings and HTML code are encountered, as they always are in large systems of software.

The most reliable way to build a look-and-feel PHP formatter which fully supports the PHP programming standard. The SourceFormatX PHP Formatter works this way, because it is built around the powerful PHP syntax Parser Engines of Draupnir Soft, to parse and restructure source files. That's why SourceFormatX PHP Formatter both format and obfuscate PHP source code files.

SourceFormatX PHP Formatter offers over 100 individual formatting options to control the appearance of your PHP source code. Collectively, these options allow precise control that will satisfy even the pickiest programmer.

  Don't waste time over formatting PHP code by hand any more!  Download SourceFormatX PHP Formatter to format PHP source code exactly the way you want it today!