PHPackages                             wikimedia/clover-diff - 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. wikimedia/clover-diff

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

wikimedia/clover-diff
=====================

A tool to create a diff of two clover.xml files

v2.0.2(1y ago)12.2k↓14.3%1GPL-3.0-or-laterPHPPHP &gt;=7.4.3

Since Jan 20Pushed 2mo ago19 watchersCompare

[ Source](https://github.com/wikimedia/mediawiki-libs-CloverDiff)[ Packagist](https://packagist.org/packages/wikimedia/clover-diff)[ Docs](https://gerrit.wikimedia.org/g/mediawiki/libs/CloverDiff/)[ RSS](/packages/wikimedia-clover-diff/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (8)Versions (13)Used By (1)

clover-diff
===========

[](#clover-diff)

A PHP tool to diff two clover.xml files.

To install:

```
composer require-dev wikimedia/clover-diff

```

Usage:

```
./vendor/bin/clover-diff old-clover.xml new-clover.xml

```

It will return with a failure status code of 1 if any file in the new report has less coverage than before.

If you want to integrate this into your application, the `Differ` class takes the filename of two XML files, and will generate a `Diff` for you.

clover-diff is (C) 2018 Kunal Mehta under the terms of the GPL v3, or any later version. See COPYING for more details.

###  Health Score

48

—

FairBetter than 93% of packages

Maintenance70

Regular maintenance activity

Popularity20

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 63.2% 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 ~243 days

Recently: every ~616 days

Total

12

Last Release

409d ago

Major Versions

1.4.0 → 2.0.02022-12-24

PHP version history (2 changes)1.0.0PHP &gt;=5.5.9

2.0.0PHP &gt;=7.4.3

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/716c86d71cbf921e7912a505f89d799de398fc0a3af0bd4c8862834b2d642bd7?d=identicon)[wikimedia](/maintainers/wikimedia)

---

Top Contributors

[![legoktm](https://avatars.githubusercontent.com/u/81392?v=4)](https://github.com/legoktm "legoktm (36 commits)")[![jdforrester](https://avatars.githubusercontent.com/u/881572?v=4)](https://github.com/jdforrester "jdforrester (8 commits)")[![reedy](https://avatars.githubusercontent.com/u/67615?v=4)](https://github.com/reedy "reedy (8 commits)")[![umherirrender](https://avatars.githubusercontent.com/u/1174884?v=4)](https://github.com/umherirrender "umherirrender (4 commits)")[![somechris](https://avatars.githubusercontent.com/u/3330451?v=4)](https://github.com/somechris "somechris (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wikimedia-clover-diff/health.svg)

```
[![Health](https://phpackages.com/badges/wikimedia-clover-diff/health.svg)](https://phpackages.com/packages/wikimedia-clover-diff)
```

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k53](/packages/friendsoftypo3-content-blocks)[phel-lang/phel-lang

Phel is a functional programming language that compiles to PHP

5186.0k18](/packages/phel-lang-phel-lang)[dagger/dagger

Dagger PHP SDK

261.1k](/packages/dagger-dagger)

PHPackages © 2026

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