TextWrangler PHPTidy filter

  • it works with files (reading from file instead of standard input)
  • there is a non-optional argument “command”, as phptidy has lots of features
  • it does not break lines after semicolons

…so I had to tweak the code a little. I hope you will find it useful.

Oh, yes, your download link:

PHPTidy text filter for TextWrangler

For XMLTidy I use this shell script: