PHPackages                             tohmua/consolidare - 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. tohmua/consolidare

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

tohmua/consolidare
==================

Consolidare merge tool

v0.1.0(9y ago)192[2 issues](https://github.com/Tohmua/Consolidare/issues)MITPHPPHP ^5.6 || ^7.0

Since Oct 30Pushed 9y ago2 watchersCompare

[ Source](https://github.com/Tohmua/Consolidare)[ Packagist](https://packagist.org/packages/tohmua/consolidare)[ RSS](/packages/tohmua-consolidare/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (2)Versions (6)Used By (0)

[![Build Status](https://camo.githubusercontent.com/3688fb09ffa1f115909e2527a3b10c1596c7d2dafddf18f3ded2f009352955f1/68747470733a2f2f7472617669732d63692e6f72672f546f686d75612f436f6e736f6c69646172652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Tohmua/Consolidare)

Consolidare
===========

[](#consolidare)

This tool tries to make merging multiple "things" of any type easy and automated in an (hopefully) less opinionated fashion.

### Install

[](#install)

`composer require tohmua/consolidare`

### Use

[](#use)

```
$merge = new Consolidare\Merge();

$merge->data('{"id": 10}');
$merge->data(['name' => 'foo', 'email' => 'bar']);
$merge->data(['email' => 'test@test.com']);

$result = $merge->merge(Consolidare\MergeStrategy\MergeStrategyFactory::basic());

$result->retrieve(new Consolidare\ReturnType\Type\ToArray);
// ['id' => 10, 'name' => 'foo', 'email' => 'test@test.com']
```

### Wiki

[](#wiki)

More info is available in the [Wiki](https://github.com/Tohmua/Consolidare/wiki)

### Tests

[](#tests)

To run: `composer test`

The code coverage report can be found in `tests/_output` however this is git ignored but it will be generated automatically for you when you run the test suite.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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

Unknown

Total

1

Last Release

3530d ago

### Community

Maintainers

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

---

Top Contributors

[![Tohmua](https://avatars.githubusercontent.com/u/6814384?v=4)](https://github.com/Tohmua "Tohmua (9 commits)")[![rmjjjt](https://avatars.githubusercontent.com/u/21172725?v=4)](https://github.com/rmjjjt "rmjjjt (1 commits)")

---

Tags

mergemergingmerge toolrecord merging

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tohmua-consolidare/health.svg)

```
[![Health](https://phpackages.com/badges/tohmua-consolidare/health.svg)](https://phpackages.com/packages/tohmua-consolidare)
```

###  Alternatives

[gehrisandro/tailwind-merge-laravel

TailwindMerge for Laravel merges multiple Tailwind CSS classes by automatically resolving conflicts between them

341790.3k28](/packages/gehrisandro-tailwind-merge-laravel)[gehrisandro/tailwind-merge-php

TailwindMerge for PHP merges multiple Tailwind CSS classes by automatically resolving conflicts between them

1391.7M12](/packages/gehrisandro-tailwind-merge-php)[lukascivil/treewalker

TreeWalker is a simple and small Library that will help you to work faster with manipulation of structures in PHP

731.1M7](/packages/lukascivil-treewalker)[balbuf/composer-git-merge-driver

Custom git merge driver to minimize merge conflicts in composer.json and composer.lock files.

136278.1k](/packages/balbuf-composer-git-merge-driver)[yieldstudio/tailwind-merge-php

Merge Tailwind CSS classes without style conflicts

4974.6k1](/packages/yieldstudio-tailwind-merge-php)[tales-from-a-dev/tailwind-merge-php

TailwindMerge for PHP merges multiple Tailwind CSS classes by automatically resolving conflicts between them

12312.6k9](/packages/tales-from-a-dev-tailwind-merge-php)

PHPackages © 2026

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