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
Eloquent Nested Attributes

Eloquent Nested Attributes Laravel Package

mits87/eloquent-nested-attributes

Adds Rails-style nested attributes to Laravel's Eloquent ORM, letting you assign related models through a single attribute array and have them created, updated, or removed on save—cutting boilerplate for forms that manage parent and child records together.

View on GitHub
Deep Wiki
Context7

mits87/eloquent-nested-attributes brings Rails-style nested attributes to Laravel's Eloquent ORM. It lets you create, update, and delete related models directly through a parent model's attributes, so you can handle complex forms with associated records in a single save() call—no manual syncing or extra boilerplate.

  • Mass-assign nested relations alongside the parent model
  • Supports hasOne, hasMany, and belongsToMany relationships
  • Create, update, and delete child records in one operation
  • Plays nicely with validation and Laravel's standard model workflow
  • Keeps controllers and form handling lean and readable
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.
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect