Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this q开发者_开发技巧uestionDoes anyone know of a good tool for cleaning up/formatting PHP files? I'd need something that can handle HTML with < ?php ?> tags, as well as pure PHP files. Ideally, I'd like a Maven mojo, since the rest of my code is being generated by Maven already.
Haven't worked with php for a while now, but I remembered using PHP Beautifier
I haven't really found any completely satisfactory solution yet, but I'm comparing several options, now. I'll be documenting my progress on my blog, if anyone's interested in the future.
精彩评论