This project follows a Code of Conduct.
Installation
Requirements
- You must have a running copy of PHP on the machine you are running Sublime Text
- You must have a copy of phpfmt or php-cs-fixer on the machine you are running Sublime Text - make sure you place them in the plugin's directory.
Plugin runs with PHP 7.0 or newer installed in the machine running the plugin.
Configuration (OS X and Linux)
- Edit configuration file (
phpfmt.sublime-settings
) - For field
"php_bin"
enter the path to the php Example:"php_bin":"/usr/local/bin/php"
Windows Support
Windows support is offered by specific package.
Acknowledgements
- GoSublime - for the method to update the formatted buffer
- Google's diff match patch - http://code.google.com/p/google-diff-match-patch/