ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Sublime​Linter-php

by SublimeLinter ST3 Missing Top 100

SublimeLinter 3 plugin for PHP, using php -l.

Details

Installs

  • Total 226K
  • Win 124K
  • OS X 58K
  • Linux 43K
Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10
Windows 0 3 132 156 105 130 87 88 116 114 117 123 131 95 97 151 157 140 142 165 92 122 161 190 189 163 151 107 116 146 146 187 148 171 93 98 149 177 157 160 86 77 88 138 142 151
OS X 0 0 33 43 34 36 25 24 32 34 44 43 41 33 21 30 51 41 43 40 30 54 51 61 55 36 38 28 42 32 49 72 34 42 23 30 36 44 51 50 42 37 30 33 47 54
Linux 0 1 39 38 32 41 21 28 46 37 29 41 46 27 42 36 45 46 50 49 28 27 46 49 49 60 54 39 30 39 34 34 42 47 28 26 37 39 34 37 30 22 22 25 49 35

Readme

Source
raw.​githubusercontent.​com

SublimeLinter-php

Build Status

This linter plugin for SublimeLinter provides an interface to php -l. It will be used with files that have the “PHP”, “HTML”, or “HTML 5” syntax.

Installation

SublimeLinter must be installed in order to use this plugin.

Please use Package Control to install the linter plugin.

Before installing this plugin, you must ensure that php is installed on your system. To install php, download and run the appropriate installer: Linux/OS X or Windows.

In order for php to be executed by SublimeLinter, you must ensure that its path is available to SublimeLinter. The docs cover troubleshooting PATH configuration.

Specific Executable

It is possible to specify the php executable that should be used to lint your code, taking precedence over the executable available in your PATH.

Example:
{
    "SublimeLinter": {
        "linters": {
            "php": {
                "cmd": "/path/to/php"
            }
        }
    }
}

Settings