PHPackages                             vansari/phplint-merger - 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. vansari/phplint-merger

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

vansari/phplint-merger
======================

Simple XML Log Merger for overtrue/phplint xml reports

v0.3.2(4y ago)122.7kMITPHPPHP &gt;=7.3CI failing

Since Dec 11Pushed 4y ago1 watchersCompare

[ Source](https://github.com/vansari/phplint-merger)[ Packagist](https://packagist.org/packages/vansari/phplint-merger)[ RSS](/packages/vansari-phplint-merger/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (5)Dependencies (7)Versions (8)Used By (0)

phplint-merger
==============

[](#phplint-merger)

Simple XML Merger for overtrue/phplint xml reports

---

[![Gihub](https://github.com/vansari/phplint-merger/actions/workflows/php.yml/badge.svg)](https://github.com/vansari/phplint-merger/actions/workflows/php.yml)[![Latest Stable Version](https://camo.githubusercontent.com/4baf957ee30b98c3adc0983e9485b0a5d8d9c352e6173c154d4d011011f6e988/68747470733a2f2f706f7365722e707567782e6f72672f76616e736172692f7068706c696e742d6d65726765722f76)](//packagist.org/packages/vansari/phplint-merger)[![License](https://camo.githubusercontent.com/e57c7d2e9f0ccc19d45c3539179fb38dd9ed6d20ac672d47bf10940337d18fa7/68747470733a2f2f706f7365722e707567782e6f72672f76616e736172692f7068706c696e742d6d65726765722f6c6963656e7365)](//packagist.org/packages/vansari/phplint-merger)[![codecov](https://camo.githubusercontent.com/656a7c3e5cd99e005fc47028f5fd67d61f02603260c7507e8ec03e3bca5d9eaf/68747470733a2f2f636f6465636f762e696f2f67682f76616e736172692f7068706c696e742d6d65726765722f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d4842573158354c345051)](https://codecov.io/gh/vansari/phplint-merger)

Description
-----------

[](#description)

This package is inspired from the Repository [PHPUnit-Merger](https://github.com/Nimut/phpunit-merger).
The merger can be used to combine many xml results from the [phplint](https://github.com/overtrue/phplint) Repo.

We are using the overtrue/phplint package for static analyze. overtrue/phplint is a fast tool with flexible configuration via yaml. It generates one testsuite (PHP Linter) with a big testcase with all errors. But sometimes it is not necessary to analyze all files again and again.

For us it was necessary to lint only files which are new or modified by the developer. In our CI we run the lint against this files.

```
vendor/bin/phplint ./this/is/new/File.php -c .phplint.xml --xml=build/phplint/lint-result-File.xml
```

If you try to merge this file with another lint result file it will be not possible.

Here is the benfit of this new package:

The script sorts the results from one testcase with many classes to one testcase per class with the related errors.
The testsuite will have an overall result of the tests and errors.

The testcases will have an overall result of the errors.

Install
-------

[](#install)

```
composer install vansari/phplint-merger

```

### Example

[](#example)

File 1

```

            /root/path/of/project/src/folder/subfolder1/Class1.php
            /root/path/of/project/src/folder/subfolder1/Class1.php

```

File 2

```

            /root/path/of/project/src/folder/subfolder1/Class2.php
            /root/path/of/project/src/folder/subfolder1/Class2.php

```

Execute XML Merge

```
vendor/bin/phplint-merger xml path/to/results path/to/output.xml
```

Result:

```

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 51.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 ~56 days

Total

5

Last Release

1795d ago

### Community

Maintainers

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

---

Top Contributors

[![vansari](https://avatars.githubusercontent.com/u/18286899?v=4)](https://github.com/vansari "vansari (15 commits)")[![kjunker](https://avatars.githubusercontent.com/u/47505814?v=4)](https://github.com/kjunker "kjunker (14 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/vansari-phplint-merger/health.svg)

```
[![Health](https://phpackages.com/badges/vansari-phplint-merger/health.svg)](https://phpackages.com/packages/vansari-phplint-merger)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k532.1M19.4k](/packages/laravel-framework)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[friendsoftypo3/content-blocks

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

101466.4k45](/packages/friendsoftypo3-content-blocks)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M518](/packages/shopware-core)[brianhenryie/strauss

Prefixes dependencies namespaces so they are unique to your plugin

186406.5k30](/packages/brianhenryie-strauss)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

54642.4k4](/packages/jolicode-castor)

PHPackages © 2026

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