Usually I’m using Polistyle tool that integrated into NuSphere PhpED, but with latest Wine update, my PhpED is broken, file open command is not working and also the Polistyle code formatter. I’m often do re-formatting of the PHP codes, especially when working on other programmer’s code so this Polistyle is very helpful. Searching on Ubuntu apt repository, there’s only one application that will do what Polistyle can: universalindentgui .
Originally posted here:
Linux: code formatter/beautifier