Short answer: TextFX
Long answer: (Yes i know you linked that thread, but read all the answers there) use http://stackoverflow.com/a/7029595 for the PHP, and use http://stackoverflow.com/a/3635611 for the HTML
Even longer answer: Notepad++ isnt an IDE. It is an text editor (an awesome and versatile one at that), and is only partially aware of what you are editing.
If you need such code beatifications/fixers from eclipse, then do it in eclipse (or what ever IDE of the language of your choice)! There is a PHP module for eclipse, and it works fine for this stuff. I use it every day. You can do the bulk of your coding in notepad++ if you still want, and just from time to time just open eclipse, and smack c+s+F, and then save.