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

Nova Dependency Container Laravel Package

alexwenzel/nova-dependency-container

Adds dependency containers to Laravel Nova forms, letting you show or hide groups of fields based on the value of another field. Define conditional logic once and keep complex forms clean, reactive, and free of hand-written JavaScript.

View on GitHub
Deep Wiki
Context7

nova-dependency-container lets you conditionally display groups of Laravel Nova fields based on the value of another field. Wrap fields in a DependencyContainer and declare which field and value trigger visibility—Nova handles the rest, keeping forms clean and context-aware.

DependencyContainer::make()
    ->dependsOn('type', 'custom')
    ->withFields([ Text::make('Custom Value') ])
  • Declarative dependsOn() API for any field type
  • Nest multiple containers for complex form logic
  • Works with Select, Boolean, Radio and more
  • Clean, reactive show/hide behavior in Nova
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.
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
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo