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.
Architecture fit
knplabs/knp-menu-bundle: menus are declared in YAML across bundles, merged via the container config tree, and resolved through KnpMenu's MenuProvider/FactoryInterface at runtime.MenuBuilder classes, so expect a hybrid model rather than a full migration.MenuBuilder. It does not move the line on data-driven menus (permission filtering, entity trees) — extras are static data baked at config time, not runtime lookups.Integration feasibility
knp-menu, knp-menu-bundle, plus this bundle) before delivering any value.composer why-not against our pinned Symfony and KnpMenu versions before drawing any conclusion. A 7.x line may align with Symfony 7, but that must be verified from composer.json, not inferred from the version number.extras. A flat-extras renderer will silently ignore nested structures.Technical risk
@Baachi), and a merged community PR. That reduces — but does not remove — abandonment risk. Single maintainer, tiny star count, and no dependents remain true; treat it as low-activity, not maintained.extras), assume nothing — diff the config tree class between our pinned version and 7.1.extras.roles: [ROLE_ADMIN] convention is now easy to invent and easy to mistake for enforcement. Menu visibility must never be the access-control boundary.Key questions
spatie/menu or lavary/laravel-menu instead.MenuBuilder classes exist today?extras? If yes, does nested-extras support require template changes on our side, and is the nested shape validated anywhere?Stack fit
Migration path
MenuBuilder to YAML, render it in a non-production branch, and diff the output HTML against the current implementation.MenuBuilder classes only after the YAML version has run in production for a full release cycle.Compatibility
composer why-not against our pinned Symfony and KnpMenu versions. If 7.1 still sits inside the 2023-era constraint range, the Symfony 7 fork question stands unresolved regardless of the new release.Sequencing
Maintenance
Support
Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?