views:

181

answers:

3

Is there something like the "phpCodeBeautifier" from waterproof that is open source?

+2  A: 

The best tool I know to reformat PHP code is the PHP_Beautifier PEAR package, which is both free (open source) and free (costs no money).

It's a bit complicated, has a lot of options, and is maybe a bit slow, but does really good job on messy code-source.

Pascal MARTIN
A: 

For something quick you might want to consider

http://www.prettyprinter.de/

Sid NoParrots