everlutionsk/navigation-bundle
A Symfony bundle for rendering multiple navigation instances that are registered dynamically via tagged services. It supports containers, nested items, routing, breadcrumbs, filtering, sorting, translation, and highlighting the current item.
everlutionsk/navigation with tagged services and bundle configuration. For a Laravel codebase this is not a drop-in — the real decision it supports is whether to port the container/registration concept into Laravel service providers and Blade components rather than install it. For Laravel, spatie/laravel-menu or a small internal Blade-component menu registry is the lower-risk path.Consider it when:
Look elsewhere when:
spatie/laravel-menu, or a ~100-line internal menu registry plus Blade components — you'll get the same route-param and active-state behavior with first-party ownership.KnpMenu/KnpMenuBundle is the de facto standard with far broader adoption, documentation, and third-party integrations. Choosing this bundle over KnpMenu is a bet on a much smaller maintainer base for a problem KnpMenu already solves.For executives (one paragraph): Navigation is a small, high-visibility part of the product, and this MIT-licensed library gives us a clean, reusable way to render several coordinated menus per page — including ones that respond to user role and current page — instead of maintaining duplicate templates. The cost is effectively zero and the risk is contained: it's a presentation-only layer with a small codebase, so if we ever need to replace it, the work is measured in days, not quarters. The one thing to flag is that it targets Symfony, not our Laravel stack, so the realistic play is to adopt the pattern (a service-registered menu container rendered by components) rather than the package itself — giving us the benefit with none of the third-party dependency risk.
For engineering (summary): Dependency-injection-driven navigation container: items are registered via tagged services into named containers, containers render in templates, and items support named routes with static or dynamic parameters, current-item highlighting, and per-container item filtering. Small, single-vendor package (everlutionsk), 2 stars, 0 dependents, MIT, last release Nov 2024, built on the sibling everlutionsk/navigation library — quality tooling (Scrutinizer) is configured, but community validation is essentially absent. Recommendation: treat it as a reference implementation. On Symfony, evaluate against KnpMenu before adopting; on Laravel, reimplement the container-plus-registration pattern in a service provider with Blade components and own it in-repo. If we do install it, pin the version, add it to our fork-watch list, and keep all menu definitions behind our own interface so the library stays swappable.
How can I help you explore Laravel packages today?