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

Nova Dependency Container Laravel Package

epartment/nova-dependency-container

Laravel Nova package that adds a dependency container for conditionally showing or hiding groups of fields. Use dependsOn() to react to another field's value, keeping forms dynamic and clutter-free without custom JavaScript. Ideal for building cleaner, context-aware Nova forms.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Admin feature delivery: Add conditional field visibility in Laravel Nova resources without custom Vue/Nova field work. Use it for progressive disclosure in back-office forms.
  • Roadmap prioritization: Unblocks ops, compliance, and approval-workflow improvements where fields should appear based on status, type, role, region, plan, or prior answers. Prioritize forms with high operator error/training cost.
  • Build vs buy: Treat as a tactical “adopt” decision when the team is already on Nova and dependency logic is simple. Avoid building a custom dependency container. Build in-house only if conditional logic becomes core product behavior, needs advanced operators, server-side validation, or guaranteed Nova compatibility.
  • Use cases: Order/refund status forms, KYC/onboarding, approval routing, role-specific admin fields, conditional compliance questions, and reducing clutter in large Nova resources.
  • Success metrics: Time-to-complete admin tasks, form error rates, support/training tickets, and custom admin code reduced.

When to Consider This Package

  • Consider it when you already run Laravel Nova and need conditional field display in Nova resources.
  • Dependency rules are simple, such as field equals value or is in a set, and the form is internal/admin-facing.
  • You can verify compatibility with your Nova, Laravel, and PHP versions through a timeboxed spike. The 1.3.3 patch specifically addresses Nova 3.X fieldsForIndex/fieldsForDetail compatibility, so include those code paths in the spike if you use them.
  • MIT licensing and a small integration surface are acceptable; the team can pin, fork, or patch if needed.
  • The use case is low criticality, has no SLA requirement, and covers a limited number of resources.
  • Look elsewhere if you are not on Nova, need complex dynamic forms or wizards, require server-side conditional validation/business logic, are building customer-facing forms, need advanced operators/reactive calculations, are on an unsupported Nova version, or require long-term vendor support. Avoid it if predictable maintenance cadence is a hard requirement or a Nova upgrade is imminent without compatibility evidence; the 1.3.3 fix improves Nova 3.X coverage but does not establish a long-term release cadence.

How to Pitch It (Stakeholders)

  • Executives: “This is a low-cost, MIT-licensed Nova add-on that makes internal admin forms simpler and faster, reducing custom code and operator errors. It is tactical, not core infrastructure. A recent 1.3.3 patch improves Nova 3.X compatibility for index/detail fields. We will timebox a compatibility spike and keep an exit path.”
  • Engineering: “It is a Nova-native field container for conditional visibility with a minimal integration surface. Due diligence: 378 stars, a recent 1.3.3 patch for Nova 3.X fieldsForIndex/fieldsForDetail compatibility, but still limited dependents signal and a long gap before that patch. Pin the version, wrap usage, test against the current Nova version including index/detail field paths, and be ready to fork or replace. Use it only for simple admin conditional fields; keep business logic server-side.”
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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager