Make php source more readable

I writing my php with notepad or dreamweaver, and i dont obtain output tabulated.
Does it exist a pretty and easy tool that auto formatting or auto tabulate php/html source code returning source code more readable? I want a function as actionscript Autoformat Button. For formattting html ive solved, with Dreamweaver using > COMMANDS > APPLY SOURCE FORMATTING but php code doesn’t not formatting. Have any idea.? I hope that i explain.