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 1w ago

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

Maturity73

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

1677d 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.5k199.6M3.4k](/packages/composer-composer)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k257.0M28.1k](/packages/friendsofphp-php-cs-fixer)[friendsoftypo3/content-blocks

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

103574.3k69](/packages/friendsoftypo3-content-blocks)[api-platform/openapi

Models to build and serialize an OpenAPI specification.

425.3M110](/packages/api-platform-openapi)[phpactor/phpactor

PHP refactoring and intellisense tool for text editors

1.9k17.9k1](/packages/phpactor-phpactor)[eliashaeussler/typo3-solver

Solver - Extends TYPO3's exception handling with AI generated solutions. Problems can also be solved from command line. Several OpenAI parameters are configurable and prompts and solution providers can be customized as desired.

302.1k](/packages/eliashaeussler-typo3-solver)

PHPackages © 2026

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