PHPackages                             jdecool/watcher - 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. jdecool/watcher

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

jdecool/watcher
===============

Watch changes

001PHP

Since Jul 1Pushed 7y agoCompare

[ Source](https://github.com/jdecool/watcher)[ Packagist](https://packagist.org/packages/jdecool/watcher)[ RSS](/packages/jdecool-watcher/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Watcher
=======

[](#watcher)

[![Latest Stable Version](https://camo.githubusercontent.com/2714ac2602ecef6a458f0326c77b942b9498b60b4371f883881e6e913c0d88b7/68747470733a2f2f706f7365722e707567782e6f72672f6a6465636f6f6c2f776174636865722f762f737461626c652e706e67)](https://packagist.org/packages/jdecool/watcher)

Work in Progress
----------------

[](#work-in-progress)

Please note that this project is currently under active development. We encourage everyone to try it and give feedback, but we don't recommend it for production use yet.

Intro
-----

[](#intro)

This tool watches a resource (filesystem, API resources, ...) and notify a listener of any changes.

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

[](#installation)

You can install it by running [Composer](https://getcomposer.org):

```
$ composer require jdecool/watcher
```

Usage
-----

[](#usage)

First you need configure the tool by creating a `watcher.yaml` file:

```
watcher: Vendor\Package\MyWatcher
storage: JDecool\Watcher\Storage\JsonStorage
listeners:
    - Vendor\Package\Lister1
    - Vendor\Package\Lister2
```

The `watch` class is an instance of `JDecool\Watcher\Watcher` and it is an implementation of a watcher. It will watch content to detect some change.

The class need to contain a method `public function getObjects(): array` to returns objects.

Information about data can be stored with different strategies and you need to define how you want to store those data with the `storage` key.

Finally, you need to register `listeners` that can be triggered. A listener class is an `Symfony\Component\EventDispatcher\EventSubscriberInterface` implementation.

Then you can run your watcher with `vendor/bin/watcher`.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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.

### Community

Maintainers

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

---

Top Contributors

[![jdecool](https://avatars.githubusercontent.com/u/433926?v=4)](https://github.com/jdecool "jdecool (1 commits)")

### Embed Badge

![Health badge](/badges/jdecool-watcher/health.svg)

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

###  Alternatives

[litecms/page

Page package for litecms.

1851.8k1](/packages/litecms-page)

PHPackages © 2026

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