abolaradev/navix
Navix is a Laravel package for building and managing navigation menus in PHP, with a simple API for defining items, handling active states, and rendering customizable menus in Blade views.
routes/navix.php) means nav changes ship through normal code review and deployment, not ad-hoc template edits.@if checks through Blade — a meaningful maintainability win for gated admin/portal experiences.Adopt when:
NavixCollection getters make headless consumption straightforward).navix:install command gets you to a config file in one step).Look elsewhere when:
For executives: Navix is a small, low-risk Laravel library that standardizes how our navigation menus are defined. It lets us change menus — including role-gated and nested ones — through normal code review and deployment instead of one-off template edits, which shortens iteration time on admin and portal surfaces and reduces inconsistency between screens. It has no infrastructure cost and no database footprint.
For engineering: A lightweight, fluent menu builder with multiple batches, nested groups, configurable labels/icons/badges/URLs/query parameters, a navix() accessor, recursive label search, and a NavixCollection API with getters and existence checks. It integrates cleanly with Blade and Livewire, and installs via navix:install writing to routes/navix.php. Menus become testable, versioned config rather than view logic.
Risks and open questions to resolve before adoption:
routes/ (an unusual location) versus a dedicated config or service provider.How can I help you explore Laravel packages today?