Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Embed Models Laravel Package

juanparati/embed-models

Laravel package that lets you embed one Eloquent model inside another, storing grouped attributes as reusable value objects in the parent table. Reduces joins, keeps schemas tidy, and simplifies structured data. Ideal for addresses, money, and similar small value objects.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Laravel 13 upgrade planning: The release explicitly adds missing methods for Laravel 13.x, making this package a candidate to unblock or de-risk a framework upgrade rather than forcing a custom compatibility fork.
  • Roadmap sequencing: Teams can schedule Laravel 13 adoption with less concern that this dependency becomes the critical-path blocker.
  • Build vs. buy: If the package now covers Laravel 13 compatibility and model attributes, it reduces the case for maintaining internal glue code or a private fork.
  • Feature use cases: “Model attributes” support suggests product code can expose package-backed data through standard Laravel model attribute patterns, improving ergonomics and reducing custom accessors/mappers.
  • Technical debt reduction: Adopting the new major can retire temporary compatibility shims introduced while waiting for Laravel 13 support.

When to Consider This Package

  • Consider it when the application is on, or actively moving to, Laravel 13.x and this package is already in the dependency graph or under evaluation.
  • Consider it when the team wants package data surfaced through Laravel model attributes instead of bespoke accessor or transformation layers.
  • Consider it when avoiding a maintained internal fork is more valuable than delaying the Laravel 13 upgrade.
  • Look elsewhere or stay on the prior major when the application remains on older Laravel versions and has no near-term upgrade path.
  • Validate before adoption if the release’s “model attributes” behavior overlaps with existing accessors, serialization, or API contracts; major-version releases should still be checked for breaking changes beyond the headline notes.
  • Look elsewhere if the product needs capabilities beyond Laravel compatibility and model-attribute ergonomics; the release notes do not indicate broader product expansion.

How to Pitch It (Stakeholders)

Executive summary: This release is primarily a Laravel 13 compatibility and ergonomics update. It lowers the risk of being blocked on an outdated dependency during the framework upgrade and reduces the need for internal maintenance workarounds. The model-attributes addition can simplify how product code consumes package data, but it should be treated as an engineering-level improvement rather than a new standalone product bet.

Engineering summary: The package now implements missing methods for Laravel 13.x and adds model attributes. That makes it safer to evaluate as part of the Laravel 13 migration path and may remove custom accessor/glue code. Because this is a new major version, engineering should still review the full changelog and run upgrade tests for breaking changes before rollout.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route