PHPackages                             jamesastubbs/phpcswatcher - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. jamesastubbs/phpcswatcher

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jamesastubbs/phpcswatcher
=========================

A listener which automatically invokes PHP\_CodeSniffer when a PHP file has been added/modified.

1.0.0(8y ago)016MITPHP

Since May 16Pushed 8y ago1 watchersCompare

[ Source](https://github.com/jamesastubbs/phpcswatcher)[ Packagist](https://packagist.org/packages/jamesastubbs/phpcswatcher)[ RSS](/packages/jamesastubbs-phpcswatcher/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

PHPCSWatcher
============

[](#phpcswatcher)

A listener which automatically invokes PHP\_CodeSniffer when a PHP file has been added/modified.

---

Installation
------------

[](#installation)

Please use [Composer](https://getcomposer.org) 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
-----

[](#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]

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3284d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fbd49c958bfd63687748e88fdd07224d61ccbe79af4b8504cbe41210f998f740?d=identicon)[jamesastubbs](/maintainers/jamesastubbs)

---

Top Contributors

[![jamesastubbs](https://avatars.githubusercontent.com/u/10448377?v=4)](https://github.com/jamesastubbs "jamesastubbs (6 commits)")

---

Tags

phpcsphpcseventstoollistenerwatcher

### Embed Badge

![Health badge](/badges/jamesastubbs-phpcswatcher/health.svg)

```
[![Health](https://phpackages.com/badges/jamesastubbs-phpcswatcher/health.svg)](https://phpackages.com/packages/jamesastubbs-phpcswatcher)
```

###  Alternatives

[phpcsstandards/phpcsutils

A suite of utility functions for use with PHP\_CodeSniffer

6233.4M58](/packages/phpcsstandards-phpcsutils)[jbzoo/event

Library for event-based development

29760.0k5](/packages/jbzoo-event)[syde/phpcs

Syde PHP coding standards for WordPress projects.

1019.7k7](/packages/syde-phpcs)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
