converia/config-knp-menu-bundle
AdminBundle, UserBundle), reducing duplication and improving maintainability. Critical for microservices or monolithic modular architectures.navigation.en.yml, navigation.fr.yml) with minimal code, supporting global products or region-specific UIs.enabled: false for experimental features) without redeploying, enabling rapid iteration or canary releases.*"This package lets us control our product’s navigation without touching code—designers or marketers can update menus via YAML files, just like content. For example:
navigation.yml in 2 minutes instead of waiting for dev cycles.navigation.es.yml).It’s a low-risk, high-reward way to make UI changes faster and more scalable."*
*"This bundle externalizes KnpMenu configurations into YAML, giving us:
navigation.yml, not Twig/PHP.AdminBundle defines its own menu structure).Tradeoff: Tiny learning curve for YAML syntax, but pays off with faster UI iterations and less merge conflicts in shared bundles."*
*"No more asking devs to update menus—you can edit them directly in navigation.yml files! For example:
# src/Acme/DashboardBundle/Resources/config/navigation.yml
dashboard:
label: 'My Dashboard'
route: dashboard_home
children:
- { label: 'Analytics', route: analytics }
- { label: 'Settings', route: settings, enabled: true|false } # Toggle features!
navigation.fr.yml)."*How can I help you explore Laravel packages today?