Looking for a PHP Indentation tool? [closed]

北城以北 提交于 2020-02-05 06:27:09

问题


Is there something like the "phpCodeBeautifier" from waterproof that is open source?


回答1:


The best tool I know to reformat PHP code is the PHP_Beautifier PEAR package, which is both free (open source) and free (costs no money).

It's a bit complicated, has a lot of options, and is maybe a bit slow, but does really good job on messy code-source.




回答2:


Open source:

http://www.bierkandt.org/beautify/

Commercial:

http://www.sourceformat.com/php-formatter.htm




回答3:


For something quick you might want to consider

http://www.prettyprinter.de/



来源:https://stackoverflow.com/questions/1458401/looking-for-a-php-indentation-tool

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!