simplephplint
simplephplint is a node wrapper around the native php linter.
Usage
CLI
$ npm i -g simplephplint$ simplephplint '**/*.php'
Paths and filenames are parsed using globby, so the following would work as well:
$ simplephplint '**/*.php' '!vendor/**'
Configuration
After running simplephplint --init
, you'll have a .phplintrc.json
file in your directory. In it, you'll see some rules configured like this:
Issues/Contribution
You can open an issue on the github repo, or contact me directly by email.
Help
Please, if you are using this package, let me know. I am interested to know what you think of it, even if it was on a tiny side-project.