This package will lint PHP files and embedded PHP within HTML files in Atom through php -l.
You will need to have php installed on your system before trying to use this package, please follow the instructions on their site to accomplish this.
php on your system you can install this package by either searching
for it within Atom's package installation section of the settings or by running the
following command in a terminal:
apm install linter-php
As this package only provides a service, you will need something to run it. As such, the Linter package will be installed automatically for you if it isn't already installed. This will provide the user interface and run the linter for you.
Once the package is installed you may need to specify the path to the
executable if Atom is not able to find it automatically. You can do this from
Atom's settings menu or by editing your
~/.atom/config.cson file (choose Open Your Config in Atom's menu). If editing the file by hand you should modify/create a
section like the following:
'linter-php':# php path. run 'which php' to find the path'executablePath': /usr/bin/php
The following people have stepped up to take responsibility for this repository and should be consulted on any releases or major changes.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.