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.3.0(9mo ago)04.1k[4 PRs](https://github.com/EncoreDigitalGroup/mergemodels/pulls)MITPHPCI passing

Since Jun 16Pushed 2mo agoCompare

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

READMEChangelog (4)Dependencies (10)Versions (14)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

40

—

FairBetter than 88% of packages

Maintenance74

Regular maintenance activity

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.2% 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 ~104 days

Total

5

Last Release

276d ago

Major Versions

v0.1.0 → v1.0.02024-06-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/0c78c232b40f1006e496164f8cdbf70e91f945b5962b0d13aae14d076fda21e6?d=identicon)[onairmarc](/maintainers/onairmarc)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (48 commits)")[![onairmarc](https://avatars.githubusercontent.com/u/50760632?v=4)](https://github.com/onairmarc "onairmarc (9 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

[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[watson/validating

Eloquent model validating trait.

9723.3M47](/packages/watson-validating)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8703.0M17](/packages/yajra-laravel-oci8)[cybercog/laravel-love

Make Laravel Eloquent models reactable with any type of emotions in a minutes!

1.2k302.7k1](/packages/cybercog-laravel-love)[cviebrock/eloquent-taggable

Easy ability to tag your Eloquent models in Laravel.

567694.8k3](/packages/cviebrock-eloquent-taggable)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)

PHPackages © 2026

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