PHPackages                             koala-framework-mine/file-watcher-mine - 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. koala-framework-mine/file-watcher-mine

ActiveLibrary

koala-framework-mine/file-watcher-mine
======================================

Library for watching for file system changes

1.0.2(7y ago)010BSD-2-ClausePHP

Since Apr 26Pushed 7y agoCompare

[ Source](https://github.com/sj8354661/file-watcher-mine)[ Packagist](https://packagist.org/packages/koala-framework-mine/file-watcher-mine)[ Docs](http://www.koala-framework.org/)[ RSS](/packages/koala-framework-mine-file-watcher-mine/feed)WikiDiscussions 2.0 Synced today

READMEChangelog (1)Dependencies (7)Versions (7)Used By (0)

File Watcher Php Library [![Build Status](https://camo.githubusercontent.com/b331a580078a703d7bcab362fac989c84f761fb8749da453663ca08d8b164152/68747470733a2f2f7472617669732d63692e6f72672f6b6f616c612d6672616d65776f726b2f66696c652d776174636865722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/koala-framework/file-watcher)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#file-watcher-php-library-)

Php library for watching for file system changes.

Supports different backends for best cross platform usage.

### Backends

[](#backends)

- [watchmedo](https://pythonhosted.org/watchdog/) (Cross platform pything shell utility)
- [fswatch](http://emcrisostomo.github.io/fswatch/) (Cross-platform file change monitor with multiple backends)
- [inotifywait](http://linux.die.net/man/1/inotifywait) (Linux shell utility)
- [inotify](http://php.net/manual/en/book.inotify.php) (Php PECL extension)
- Polling fallback (Slow)

### Requirements

[](#requirements)

- Php 5.3+

### Installation

[](#installation)

Install using composer:

```
composer require koala-framework/file-watcher

```

### Example Usage

[](#example-usage)

```
$watcher = Kwf\FileWatcher\Watcher::create('.');
$watcher->addListener(Kwf\FileWatcher\Events::MODIFY, function($e) {
    var_dump($e->filename);
});
$watcher->start();

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 90.7% 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 ~266 days

Total

5

Last Release

2602d ago

Major Versions

1.0.2 → 2.0.x-dev2019-03-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/86d148a4e34bce8a1a1b20fe7959bfda0c7f389ad2f00e8ce35a48980e40afde?d=identicon)[sj8354661](/maintainers/sj8354661)

---

Top Contributors

[![nsams](https://avatars.githubusercontent.com/u/50764?v=4)](https://github.com/nsams "nsams (39 commits)")[![sj8354661](https://avatars.githubusercontent.com/u/47265143?v=4)](https://github.com/sj8354661 "sj8354661 (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/koala-framework-mine-file-watcher-mine/health.svg)

```
[![Health](https://phpackages.com/badges/koala-framework-mine-file-watcher-mine/health.svg)](https://phpackages.com/packages/koala-framework-mine-file-watcher-mine)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M648](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.4k37.3k](/packages/matomo-matomo)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6939.5M341](/packages/drupal-core-recommended)

PHPackages © 2026

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