digital-creative/nova-inline-morph-to
A Laravel Nova field for inline morphTo editing: create and update polymorphic related records directly from the parent resource form, without leaving the page. Streamlines data entry and polymorphic relationship workflows in Nova.
morphTo relations (comments, attachments, activity logs, addressables, payments on a polymorphic parent) are frequently rejected in admin-UI scoping because they're expensive to render well. This field collapses that cost, so "do we model this polymorphically?" becomes a product/schema question rather than an admin-tooling budget question.Adopt when all of these hold:
morphTo relationships that internal users need to view or edit, not just link to.Look elsewhere when:
Executives: A free, MIT-licensed UI component for the Nova admin panel we already pay for. It removes a known papercut: admins currently take extra navigation steps to see or edit records attached through polymorphic relationships. Cost is near zero — an install and a compatibility check. Risk is low: it's one field on internal tooling, trivially removable, and the MIT license lets us fork if the maintainer disappears. Don't schedule it as a roadmap item; book it as an ops-efficiency improvement.
Engineering: A drop-in Nova field that renders morphTo inline instead of forcing a jump to the related resource. Saves writing and maintaining a custom field (≈1–3 dev-days, plus churn at every Nova major). Validate in a short spike: Nova 4 vs. 5 compatibility, behavior with large candidate sets (searchable vs. plain select), per-morph-type policy/authorization handling, and whether inline edits correctly persist both the morph type and the ID. Pin the version, vendor or fork it if it becomes load-bearing, and keep a standard link field as the documented fallback.
How can I help you explore Laravel packages today?