PHPackages                             encoredigitalgroup/mergemodels - 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. [Database &amp; ORM](/categories/database)
4. /
5. encoredigitalgroup/mergemodels

ActiveLibrary[Database &amp; ORM](/categories/database)

encoredigitalgroup/mergemodels
==============================

A Laravel package for Merging Eloquent Models

v1.4.0(1mo ago)04.2k1[4 PRs](https://gitlab.encoredigitalgroup.com/oss/mergemodels/pulls)MITPHPCI passing

Since Jun 16Pushed 2mo agoCompare

[ Source](https://gitlab.encoredigitalgroup.com/oss/mergemodels)[ Packagist](https://packagist.org/packages/encoredigitalgroup/mergemodels)[ Docs](https://github.com/EncoreDigitalGroup/mergemodels)[ RSS](/packages/encoredigitalgroup-mergemodels/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (4)Dependencies (20)Versions (22)Used By (0)

EncoreDigitalGroup\\MergeModels
===============================

[](#encoredigitalgroupmergemodels)

Easy merging for Eloquent Models.

Installation
------------

[](#installation)

Via Composer

```
$ composer require encoredigitalgroup/mergemodels
```

Usage
-----

[](#usage)

- [How to Merge Models](./docs/HowToMergeModels.md)

Credits
-------

[](#credits)

- [Ariel Vallese](https://alariva.com) (Original Package Developer)
- [Encore Digital Group](https://EncoreDigitalGroup.com) (Maintainer)

### Why does this package exist?

[](#why-does-this-package-exist)

The original package had not been updated since 2020 and was not compatible with Laravel 11. Encore Digital Group forked this package and is now maintaining a copy as we required this functionality in several internal applications.

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance88

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.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 ~141 days

Recently: every ~176 days

Total

6

Last Release

40d ago

Major Versions

v0.1.0 → v1.0.02024-06-17

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/50760632?v=4)[Marc Beinder](/maintainers/onairmarc)[@onairmarc](https://github.com/onairmarc)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (50 commits)")[![onairmarc](https://avatars.githubusercontent.com/u/50760632?v=4)](https://github.com/onairmarc "onairmarc (10 commits)")

---

Tags

laravelMerge Models

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

### Embed Badge

![Health badge](/badges/encoredigitalgroup-mergemodels/health.svg)

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

###  Alternatives

[spatie/laravel-medialibrary

Associate files with Eloquent models

6.1k43.2M632](/packages/spatie-laravel-medialibrary)[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k8.4M96](/packages/mongodb-laravel-mongodb)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[kirschbaum-development/eloquent-power-joins

The Laravel magic applied to joins.

1.6k32.6M46](/packages/kirschbaum-development-eloquent-power-joins)[glushkovds/phpclickhouse-laravel

Adapter of the most popular library https://github.com/smi2/phpClickHouse to Laravel

2051.5M2](/packages/glushkovds-phpclickhouse-laravel)

PHPackages © 2026

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