PHPackages                             task/watch - 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. task/watch

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

task/watch
==========

Filesystem watching for Task

v0.2.0(12y ago)26221[1 PRs](https://github.com/taskphp/watch/pulls)MITPHP

Since Apr 24Pushed 9y ago2 watchersCompare

[ Source](https://github.com/taskphp/watch)[ Packagist](https://packagist.org/packages/task/watch)[ RSS](/packages/task-watch/feed)WikiDiscussions master Synced 6d ago

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

task/watch
==========

[](#taskwatch)

[![Build Status](https://camo.githubusercontent.com/88f883b6eed1677ce852bb9985548c9cd73d705d83ceab4378a5fb6fc35256b5/68747470733a2f2f7472617669732d63692e6f72672f7461736b7068702f77617463682e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/taskphp/watch)[![Coverage Status](https://camo.githubusercontent.com/4b24c3a67c5aed8142977367420a668070614ed9bb5eed2d4c32d21534dabfd6/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f7461736b7068702f77617463682f62616467652e706e67)](https://coveralls.io/r/taskphp/watch)

Example
=======

[](#example)

```
use Task\Plugin\WatchPlugin;

$project->inject(function ($container) {
    $container['watch'] = new WatchPlugin;
});

$project->addTask('watch', ['watch', function ($watch) {
    $watch->init('/tmp')
        ->addListener('modify', function ($event) {
            # Do something
        });
}]);
```

Installation
============

[](#installation)

Add to `composer.json`:

```
...
"require-dev": {
    "task/watch": "~0.1"
}
...
```

Usage
=====

[](#usage)

See the documentation for [mbfisher/watch](https://github.com/mbfisher/watch) for documentation on using the watchers.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

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.

###  Release Activity

Cadence

Every ~18 days

Total

2

Last Release

4388d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/task-watch/health.svg)

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

###  Alternatives

[dahmen/automad-terminal

A minimal Automad blog theme for terminal lovers

532.2k](/packages/dahmen-automad-terminal)[buihuycuong/vnfaker

VNFaker is a Laravel package that generates fake data about name, city, address, phone,... in Viet Nam

145.8k](/packages/buihuycuong-vnfaker)[metabolism/acf-extensions

ACF Extensions plugin with components, dynamic select, inline micro editor and much more

163.5k](/packages/metabolism-acf-extensions)

PHPackages © 2026

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