标签: php indentation
防水的"phpCodeBeautifier"是否有开源的东西?
答案 0 :(得分:2)
我知道重新格式化PHP代码的最佳工具是PHP_Beautifier PEAR包,它是免费的(开源)和免费的(不花钱)
PHP_Beautifier
它有点复杂,有很多选项,可能有点慢,但在凌乱的代码源上确实做得很好。
答案 1 :(得分:0)
开源:
http://www.bierkandt.org/beautify/
商业:
http://www.sourceformat.com/php-formatter.htm
答案 2 :(得分:0)
对于你可能想要考虑的事情
http://www.prettyprinter.de/