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

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

synida/clover-merge
===================

Merge two or more clover XML files.

v2.0.4(3y ago)016.7k↓61.5%3[1 PRs](https://github.com/Synida/clover-merge/pulls)MITPHPPHP ^8.0.0

Since Feb 24Pushed 3y agoCompare

[ Source](https://github.com/Synida/clover-merge)[ Packagist](https://packagist.org/packages/synida/clover-merge)[ RSS](/packages/synida-clover-merge/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (8)Versions (4)Used By (0)

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

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.3% 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 ~40 days

Total

3

Last Release

1145d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14039463?v=4)[Synida](/maintainers/Synida)[@Synida](https://github.com/Synida)

---

Top Contributors

[![d0x2f](https://avatars.githubusercontent.com/u/8149130?v=4)](https://github.com/d0x2f "d0x2f (36 commits)")[![ilazaridis](https://avatars.githubusercontent.com/u/2973490?v=4)](https://github.com/ilazaridis "ilazaridis (5 commits)")[![Synida](https://avatars.githubusercontent.com/u/14039463?v=4)](https://github.com/Synida "Synida (3 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/synida-clover-merge/health.svg)

```
[![Health](https://phpackages.com/badges/synida-clover-merge/health.svg)](https://phpackages.com/packages/synida-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.3k](/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)
