phpmacossublimetextsublimetext3sublimelinter

SublimeLinter-php or SublimeLinter-phplint


I'm a new user of Sublime Text / Sublime Text 3 on OS X.

I installed the plugin SublimeLinter. I also installed xampp on my local machine.

Which should I install next for the linter to work on PHP? SublimeLinter-php or SublimeLinter-phplint? What's the difference of each plugin?


Solution

  • The difference lies in the linter they use: SublimeLinter-php uses php -l, SublimeLinter-phplint uses phplint.