How to use php formatter with Sublime Text 3

add the php-fmt sublime package

Go into

Preferences > Package Settings > phpfmt > Settings – User

Add this

{
“enable_auto_align”: false,
“indent_with_space”: true,
“passes”:
[
],
“php_bin”: “/Applications/MAMP/bin/php/php5.5.10/bin/php”,
“psr1”: true,
“psr2”: true,
“version”: 2
}

http://stackoverflow.com/questions/29350807/sublime-text-3-php-fmt-wont-work

Leave a Reply

Your email address will not be published. Required fields are marked *