sinute / sublime-phpfmt

Plugin to format PHP code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project follows a Code of Conduct.

Report issues.

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

About

Plugin to format PHP code


Languages

Language:Python 98.0%Language:JavaScript 2.0%