Sublime Forum

PHP linter for SublimeText?

#1

Hi all. I’d like to install a PHP linter in SublimeText. I see something called SublimeLinter-php. Are there any other options available to me? Or is SublimeLinter-php the best/most robust choice?

Thanks in advance.

0 Likes

#2

I use SublimeLinter-php and SublimeLinter-phpcs.

Those two usually cover all my bases, although I only use the PHPCS one when I have specific coding standards I want to stick to, otherwise it can be a little overwhelming visually.

The normal PHP one will let you know when you have invalid syntax which is helpful when debugging those types of errors.

1 Like

#3

I only use the PHPCS one when I have specific coding standards I want to stick to, otherwise it can be a little overwhelming visually.

OK thanks. As of now, I don’t have specific coding standards I need to meet. I’m more of a novice/intermediate PHP programmer, and hoping to keep my skills somewhat polished. So I’ll probably stick with SublimeLinter-php as a start.

Thanks.

0 Likes