jbouzekri/config-knp-menu-bundle
A Symfony bundle that brings configuration-driven menus to KnpMenuBundle, letting you define navigation menus in YAML instead of PHP. It simplifies menu setup and maintenance while leveraging KnpMenu’s rendering, extensions, and Symfony integration.
Adopt when all of the following hold:
knp_menu.menus with children/builder), which upstream has offered since the 2.2 line. If you're on a modern KnpMenuBundle, this package is largely redundant — that is the single most important build-vs-buy finding here.Look elsewhere when:
Executive summary: This is a small Symfony utility that lets teams define navigation menus in YAML across project bundles instead of hand-writing PHP. It's a developer-productivity tool, not a product feature — its value is faster, lower-risk nav and IA changes, especially in modular or white-label architectures. We do not recommend adding it as a dependency: adoption is essentially zero (6 stars, 0 dependents), it hasn't shipped since March 2023, and modern KnpMenuBundle already supports config-defined menus natively. The right call is to borrow the pattern, not the package — either use upstream's native YAML menu configuration or vendor its small merge logic into our own bundle so we control maintenance.
For engineering: evaluate against KnpMenuBundle's built-in knp_menu.menus configuration first; if that covers per-bundle menu fragments, close this as "solved upstream." If it doesn't, the implementation is small enough to own internally, which removes a supply-chain and framework-upgrade risk from our dependency graph.
How can I help you explore Laravel packages today?