PrettyPrinter is a source code formatter/beautifier. Its modular design allows the use of different syntax modules through a unified interface. It comes with a default syntax module that interprets customizable syntax files using regular expressions.
Cross platform library to analyse PHP codes and apply source code formatting like indentation, eliminating whitespaces, automatically adding braces, etc. Also includes various front-ends to perform operations on multiple files via web, gui, and console.