salahhusa9/laravel-menu
Laravel Menu is a lightweight package for defining and rendering navigation menus in Laravel. Build nested items with routes or URLs, highlight active links, and customize Blade output for simpler sidebar and header navigation.
salahhusa9/laravel-menu is a conventional Laravel package for defining and rendering application menus. It fits Laravel applications that use Blade/server-rendered navigation and want menu configuration, active-state handling, and badge support without building custom menu infrastructure. It is a poor fit for non-Laravel services, API-only services, or front-end applications that do not render menus server-side.badgeName can now be a Closure. No breaking change is indicated.badgeName. The main risk is operational rather than architectural: closures may be evaluated during rendering, so if a badge closure performs database queries or remote calls, it can introduce hidden latency or repeated work in menu rendering.badgeName evaluated once per render or per item? Are closure return values expected to be strings, and how are null/invalid values handled? Does menu output participate in any caching layer, and would dynamic closures become stale? What test coverage exists for closure-based badges and menu rendering? Is the package actively maintained beyond dependency automation?badgeName, deploy to staging, and verify rendered menu output and performance. If menus are cached, test cache invalidation with dynamic badges. After validation, roll out to production menu surfaces one at a time.How can I help you explore Laravel packages today?