I'm using phpStorm to develop and I want to process some files before it's uploaded to the FTP server.
For example, I want to strip all comments on PHP files or even compress/obfuscate it, or minify css and js.
I know that there are some plugins to minify css and js, but I don't want to do this over my local files, I just want to upload it processed, but leave untouched my files.
I'm currently using Git, so when I commit a change, all affected files are automatically uploaded to the FTP server. It could be great to commit the changes, process the files and upload the result to the FTP server.