New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

bernskiold/laravel-record-merge

A package for Laravel to merge two Eloquent models into one.
1,469
Install
composer require bernskiold/laravel-record-merge
Latest Version:0.2.2
PHP:^8.2
Laravel:12 · 13
Older releases:11
License:MIT
Last Updated:Nov 20, 2026
Links: GitHub  ·  Packagist
Maintainer: bernskiold

A package for Laravel to merge two Eloquent models into one.

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Installation & Usage

You can install the package via composer:

composer require bernskiold/laravel-record-merge

After installing the package, you may publish the configuration file:

php artisan vendor:publish --provider="Bernskiold\LaravelRecordMerge\LaravelRecordMergeServiceProvider" --tag="config"

This will publish a record-merge.php file in your config directory.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

sofa/hookable

Laravel Eloquent hooks system.

2,057,062 64
volosyuk/simple-eloquent

Adaptation of eloquent for retrieving its attributes

119,363 55
gzero/eloquent-tree

Eloquent Tree is a tree model for Laravel Eloquent ORM.

59,893 131
martinbean/laravel-sluggable-trait

A trait you can apply to Eloquent models to have slugs automatically generated o...

49,246 24
isswp101/elasticsearch-eloquent

Elasticsearch functionality like Laravel Eloquent models.

26,254 112

Version History

Version Released PHP Laravel License
0.2.2 ^8.2 ^12.0 || ^13.0 MIT
0.2.1 ^8.2 ^11.0 || ^12.0 || ^13.0 MIT
0.2.0 ^8.2 ^11.0 || ^12.0 || ^13.0 MIT
0.1.2 ^8.2 ^11.0 || ^12.0 MIT
0.1.1 ^8.2 ^11.0 || ^12.0 MIT