ctrl-cmd-s
or Php Cs Fixer: Fix
in the Command Palette.~/.atom/config.cson
(choose Open Your Config in Atom menu).cat
the contents of the script installed with brew install php-cs-fixer
:/usr/local/Cellar/php-cs-fixer/2.13.0/libexec/php-cs-fixer.phar
ctrl-cmd-s
PATH
environment variable. You can do this in the system properties. You should configure the php-cs-fixer executable path to point to the vendor directory (e.g. C:/Users/{username}/AppData/Roaming/Composer/vendor/friendsofphp/php-cs-fixer/php-cs-fixer
). For detailed information use the Java guide or this stackexchange answer.