PHPackages                             kavinsky/clover-merge - 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. kavinsky/clover-merge

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

kavinsky/clover-merge
=====================

Merge two or more clover XML files.

v2.0.1(4y ago)15.6k21MITPHPPHP ^8.0

Since Sep 23Pushed 4y agoCompare

[ Source](https://github.com/kavinsky/clover-merge)[ Packagist](https://packagist.org/packages/kavinsky/clover-merge)[ RSS](/packages/kavinsky-clover-merge/feed)WikiDiscussions master Synced today

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

CloverMerge
===========

[](#clovermerge)

***This fork its updated to PHP8.0.***

PHP utility to merge two or more clover files into a single document.

Intended to be used in a build pipeline to merge clover output from multiple testing frameworks.

I spent a weekend writing this so you don't have to.

Install
-------

[](#install)

In your project root directory:

```
$ composer require kavinsky/clover-merge
```

Run
---

[](#run)

```
$ ./vendor/bin/clover-merge merge -o combined.xml input1.xml input2.xml
Files Discovered: 332
Final Coverage: 14534/14558 (99.84%)
```

Usage
=====

[](#usage)

```
usage: clover-merge merge [] []

OPTIONS
  --enforce, -e   Exit with failure if final coverage is below the given
                  threshold
  --help, -?      Display this help.
  --mode, -m      merge mode: additive, exclusive or inclusive (default)
  --output, -o    output file path

ARGUMENTS
  paths   input file paths

```

Modes
-----

[](#modes)

- Additive - Lines must be present in the first input file for them to be included.
- Exclusive - Lines must be present in all input files for them to be included.
- Inclusive - Lines from all files are included.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 94.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 ~172 days

Recently: every ~299 days

Total

8

Last Release

1632d ago

Major Versions

v1.0.5 → v2.0.02022-01-13

PHP version history (2 changes)v2.0.0PHP ^8.0|^8.1

v2.0.1PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3da6964cc51943c4df81e10bca177837c2474420d0ff63432a7faa3625eb3f35?d=identicon)[kavinsky](/maintainers/kavinsky)

---

Top Contributors

[![d0x2f](https://avatars.githubusercontent.com/u/8149130?v=4)](https://github.com/d0x2f "d0x2f (36 commits)")[![kavinsky](https://avatars.githubusercontent.com/u/373995?v=4)](https://github.com/kavinsky "kavinsky (2 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/kavinsky-clover-merge/health.svg)

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

###  Alternatives

[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.5k196.2M3.1k](/packages/composer-composer)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k251.2M25.2k](/packages/friendsofphp-php-cs-fixer)[friendsoftypo3/content-blocks

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

103519.9k53](/packages/friendsoftypo3-content-blocks)[phpro/soap-client

A general purpose SoapClient library

8896.1M54](/packages/phpro-soap-client)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

5.1k5.2k](/packages/shlinkio-shlink)[phpactor/phpactor

PHP refactoring and intellisense tool for text editors

1.9k17.1k1](/packages/phpactor-phpactor)

PHPackages © 2026

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