bkwld/cloner
A Laravel Eloquent trait that clones models with their relationships, including files, and can duplicate records to another database connection. Configure cloneable relations and call duplicate() or duplicateTo().
Full Changelog: https://github.com/BKWLD/cloner/compare/3.14.3...3.15.0
Full Changelog: https://github.com/BKWLD/cloner/compare/3.14.2...3.14.3
Full Changelog: https://github.com/BKWLD/cloner/compare/3.14.1...3.14.2
Full Changelog: https://github.com/BKWLD/cloner/compare/3.14.0...3.14.1
Full Changelog: https://github.com/BKWLD/cloner/compare/3.12.0...3.13.0
Full Changelog: https://github.com/BKWLD/cloner/compare/3.11.1...3.11.2
Full Changelog: https://github.com/BKWLD/cloner/compare/3.11.0...3.11.1
Full Changelog: https://github.com/BKWLD/cloner/compare/3.9.2...3.10.0
See #44
Laravel 8 support (#43)
See #33
Thanks to @djoudi for the PR.
Models can be cloned between database connections ( #4 ), including their files ( #5 ). Also improves notifications of cloning by adding the original model to the callbacks ( #2, a breaking change) and firing events ( #1 )
How can I help you explore Laravel packages today?