I've seen and used phpCodeBeautifier (
http://www.phpedit.net/products/phpCodeBeautifier/)
from the gent who created phpEdit. It is quite good. However, I have been trying to explore any other tools that provide similar functionality. I've used several for VB, Java and perl that allow you to set rules for comments, whitespace, and even variable naming conventions.
We've got a few sloppy (but brilliant) coders at my workplace which this would help us enforce coding standards.
Thanks,
Dan