https://github.com/sublimelinter/sublimelinter-phplint
SublimeLinter plugin for PHP, using phplint.
https://github.com/sublimelinter/sublimelinter-phplint
Last synced: 29 days ago
JSON representation
SublimeLinter plugin for PHP, using phplint.
- Host: GitHub
- URL: https://github.com/sublimelinter/sublimelinter-phplint
- Owner: SublimeLinter
- License: mit
- Created: 2013-12-15T21:44:26.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2025-04-10T10:40:09.000Z (12 months ago)
- Last Synced: 2025-10-30T21:42:14.361Z (5 months ago)
- Language: Python
- Size: 25.4 KB
- Stars: 73
- Watchers: 9
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SublimeLinter-phplint
=========================
[](https://travis-ci.org/SublimeLinter/SublimeLinter-phplint)
This linter plugin for [SublimeLinter](https://github.com/SublimeLinter/SublimeLinter) provides an interface to [phplint](http://www.icosaedro.it/phplint/index.html).
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](https://packagecontrol.io) to install the linter plugin.
Before installing this plugin, ensure that `phplint` (2.0 or later) is installed on your system.
To install `phplint`, download and run the appropriate installer from the [download page](http://www.icosaedro.it/phplint/download.html). On Mac OS X, the best option is to install [Homebrew](http://brew.sh) and then enter the following in a terminal:
```sh
brew install phplint
```
If installation via `brew` fails, see [this page](http://georgemastro.com/gcc-4-8-error-unrecognized-command-line-option-fnested-functions/) for possible solutions.
Please make sure that the path to `phplint` is available to SublimeLinter.
The docs cover [troubleshooting PATH configuration](http://sublimelinter.com/en/latest/troubleshooting.html#finding-a-linter-executable).
## Settings
- SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html
- Linter settings: http://sublimelinter.com/en/latest/linter_settings.html