Add PHP Code Formatter to Cloud9

Download php-cs-fixer:

wget http://cs.sensiolabs.org/download/php-cs-fixer-v2.phar -O ~/php-cs-fixer

Move to ~/bin:

mkdir ~/bin
mv ~/php-cs-fixer ~/bin

Make the file executable:

chmod a+x ~/bin/php-cs-fixer

Addthis as custom code formatter for PHP (modify as desired):

php-cs-fixer fix "$file" --rules=@Symfony,@PSR2