Skip to content
SublimeLinter plugin for php, using phpmd.
Branch: master
Clone or download
Latest commit b7b2d79 Apr 13, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
messages cleanup for SL4 Apr 2, 2018
.travis.yml Add `.flake8` config file Apr 26, 2018
LICENSE init plugin Dec 18, 2013 update readme Apr 2, 2018 Do not capture 'filename' Apr 13, 2019
messages.json cleanup for SL4 Apr 2, 2018


Build Status

This linter plugin for SublimeLinter provides an interface to phpmd. It will be used with files that have the "PHP", "HTML" and "HTML5" syntax.


SublimeLinter must be installed in order to use this plugin.

Please use Package Control to install the linter plugin.

Before installing this plugin, ensure that phpmd is installed on your system. To install phpmd, do the following:

  1. Install php.

  2. Install pear.

  3. Install phpmd by typing the following in a terminal:

    pear channel-discover
    pear channel-discover
    pear install --alldeps phpmd/PHP_PMD

Alternative installation using composer:

  1. Install composer.
  2. Install phpmd using below command:
composer global require phpmd/phpmd
  1. Make sure composer global bin directory is available in $PATH
export PATH=~/.composer/vendor/bin:$PATH


You can’t perform that action at this time.