This package will lint your .php
opened filed in Atom through php -l.
- Install php.
$ apm install linter
(if you don't have AtomLinter/Linter installed).$ apm install linter-php
You can configure linter-php by editing ~/.atom/config.cson (choose Open Your Config in Atom menu):
'linter-php':
'phpExecutablePath': null # php path. run 'which php' to find the path
- linter-phpcs - Linter plugin for PHP, using phpcs.
- linter-phpmd - Linter plugin for PHP, using phpmd.
- linter-php - The linter plugin this one is forked from
This is a fork from linter-php. Containing the latest pull requests and no deprecation warnings.