PHPackages                             keszei/phpunit-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. [Testing &amp; Quality](/categories/testing)
4. /
5. keszei/phpunit-watcher

ActiveLibrary[Testing &amp; Quality](/categories/testing)

keszei/phpunit-watcher
======================

Run phpunit project test while file changes.

1.1.0(3y ago)06MITPHPPHP &gt;=7.3

Since Sep 27Pushed 3y ago1 watchersCompare

[ Source](https://github.com/KeszeiTheOne/phpunit-watch)[ Packagist](https://packagist.org/packages/keszei/phpunit-watcher)[ RSS](/packages/keszei-phpunit-watcher/feed)WikiDiscussions master Synced 1mo ago

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

phpunit-watch
=============

[](#phpunit-watch)

This library provide a function for automatically run phpunit test while file changes.

Getting Started
---------------

[](#getting-started)

You need to install before the [phpunit](https://phpunit.de/) to your project. I tested with phpunit &gt;=7 version, but maybe it works with older ones too. The script look for in your project the phpunit and use too.

Requirements
------------

[](#requirements)

- PHP &gt;= 7.3
- inotify php extension
- Linux like system where inotify extension is available
- phpunit/phpunit composer package

### Prerequisites

[](#prerequisites)

You need to install phpunit library.

```
composer require phpunit/phpunit --dev
```

### Installing

[](#installing)

Install phpunit-watcher library with composer.

```
composer require keszei/phpunit-watcher --dev
```

Versioning
----------

[](#versioning)

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/KeszeiTheOne/phpunit-watch/tags).

Authors
-------

[](#authors)

- **Balázs Keszei** - *Initial work* - [KeszeiTheOne](https://github.com/KeszeiTheOne)

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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 ~0 days

Total

2

Last Release

1326d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

testingphpunitdevTDD

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[phpspec/phpspec

Specification-oriented BDD framework for PHP 7.1+

1.9k36.7M3.1k](/packages/phpspec-phpspec)[codedungeon/phpunit-result-printer

PHPUnit Pretty Result Printer

1.2k8.8M397](/packages/codedungeon-phpunit-result-printer)[orchestra/testbench-core

Testing Helper for Laravel Development

27043.7M310](/packages/orchestra-testbench-core)[php-mock/php-mock-phpunit

Mock built-in PHP functions (e.g. time()) with PHPUnit. This package relies on PHP's namespace fallback policy. No further extension is needed.

1718.2M399](/packages/php-mock-php-mock-phpunit)

PHPackages © 2026

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