jamesastubbs / phpcswatcher
A listener which automatically invokes PHP_CodeSniffer when a PHP file has been added/modified.
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/jamesastubbs/phpcswatcher
Requires
This package is not auto-updated.
Last update: 2025-10-12 09:47:05 UTC
README
A listener which automatically invokes PHP_CodeSniffer when a PHP file has been added/modified.
Installation
Please use Composer to download this package:
composer require --dev jamesastubbs/phpcswatcher
This package should only be installed as a dev dependancy and should not be used in a production environment.
Usage
To run phpcswatcher
, a symlink will be provided in the vendor/bin
directory which will allow you to run the command like so:
./vendor/bin/phpcswatcher [dir_to_watch]