PHPackages                             fruit/watchkit - 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. fruit/watchkit

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

fruit/watchkit
==============

file watcher of fruit framework

02PHP

Since Sep 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/fruit-php/watchkit)[ Packagist](https://packagist.org/packages/fruit/watchkit)[ RSS](/packages/fruit-watchkit/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

WatchKit
========

[](#watchkit)

[![I'm watching you](https://camo.githubusercontent.com/ca1f73825cd3ebad855b4e3ad79b5d44d3643d1d86447edade2d3447d5d7445d/68747470733a2f2f63646e2e6d656d652e616d2f696e7374616e6365732f353030782f32343639343137302e6a7067)](https://camo.githubusercontent.com/ca1f73825cd3ebad855b4e3ad79b5d44d3643d1d86447edade2d3447d5d7445d/68747470733a2f2f63646e2e6d656d652e616d2f696e7374616e6365732f353030782f32343639343137302e6a7067)

This package is part of Fruit Framework.

WatchKit is a tool helping you develope your web application with Fruit framework or any other which needs to generate php code dynamically.

It is still under developement, anything could be changed later.

[![Build Status](https://camo.githubusercontent.com/27653dd81e5be9f03216abf1923783203675a0beb0268f3f3a33597eefeb4107/68747470733a2f2f7472617669732d63692e6f72672f526f6e6d692f66727569742d77617463686b69742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Ronmi/fruit-watchkit)

Usage
-----

[](#usage)

Create a `watcher.json` in project directory.

```
{
  // pattern => shell script
  "src/**/*.php": "make test",
  "test": "make test"
}
```

and run `bin/watcher` (or `vendor/bin/watcher` when installed via composer).

More detail
-----------

[](#more-detail)

WatchKit parses your pattern, use inotify to watch the changes made to it, and execute shell script when changed.

If the pattern resolves to some directory, WatchKit will also watch for child directories recursively. All changes does to decent files will trigger an execution. So newly created files are under monitoring.

Known bug
---------

[](#known-bug)

When pattern resolves to files, newly created files will not be watched.

License
-------

[](#license)

Any version of MIT, GPL or LGPL.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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/1ef743a4ba2b41bc6643ca3c4d71f4608abee7dc617efa09b18e3fa0a44aeda8?d=identicon)[Ronmi](/maintainers/Ronmi)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/fruit-watchkit/health.svg)

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

###  Alternatives

[vishnubob/wait-for-it

Pure bash script to test and wait on the availability of a TCP host and port

9.8k157.6k3](/packages/vishnubob-wait-for-it)[ddeboer/transcoder

Better encoding conversion for PHP

16705.6k10](/packages/ddeboer-transcoder)[nodejs-php-fallback/nodejs-php-fallback

Allow you to call node.js module or scripts throught PHP and call a fallback function if node.js is not available

17454.7k8](/packages/nodejs-php-fallback-nodejs-php-fallback)[fjw/color-compare

A library for converting colors (Hex, RGB, HSL, CIELAB (LAB), DIN-99) and calculating color distances based on DIN-99.

1310.0k](/packages/fjw-color-compare)

PHPackages © 2026

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