elipzis/laravel-pastable-model
Quickly duplicate Eloquent models in Laravel. Paste attribute values from an existing record into a new model while controlling which fields carry over, making record cloning and repeat data entry simple and configurable.
Adopt when all of the following hold:
"^0.2.0" with a lockfile) and treating the API as unstable — pre-1.0 semver means a future minor release can break us.Look elsewhere (or build in-house) when:
To executives: This is a low-cost, low-risk convenience library for Laravel, not infrastructure. The new release (v0.2.0) adds no features — it simply raises the requirement to Laravel 11 / PHP 8.2 and refreshes CI tooling. The decision it forces is really a platform decision: we can only use it if we are already on Laravel 11. Recommendation: no spend, no commitment; evaluate only alongside a concrete duplication/paste use case and pin the version.
To engineering: v0.2.0 is a Laravel 11 / PHP 8.2 floor bump plus Dependabot action updates — no API changes, no deprecations. It is pre-1.0, single-maintainer, and thin enough to replace with an in-house trait. If we adopt, pin it, wrap it behind our own interface so the dependency is swappable, and do not let it sit on a critical write path without our own tests.
How can I help you explore Laravel packages today?