Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Ux Navigation

Ux Navigation Laravel Package

m2mtech/ux-navigation

m2mtech/ux-navigation is a Laravel package for defining and rendering application navigation menus, with helpers for links, active states, and shared nav configuration across Blade views. It aims to keep navigation consistent and easy to maintain.

View on GitHub
Deep Wiki
Context7

Twig/UX extensions for common navigation widgets for symfony.

Frequently asked questions about Ux Navigation
How do I install m2mtech/ux-navigation in a Laravel application?
Install it with Composer using composer require m2mtech/ux-navigation. Laravel package auto-discovery should register the service provider automatically, but confirm the package's PHP and Laravel constraints match your application before adopting. Full setup and publishable config details were not included in the supplied metadata, so check the repository README for the current v2 instructions.
Does m2mtech/ux-navigation support nested menus and active link detection?
Yes. The package is built around defining navigation items with a fluent API and supports nested or child items plus active-link detection, so submenus and highlighted current pages are handled for you. Menus are defined centrally and rendered in Blade, which keeps active state logic out of your templates.
How do I render a navigation menu in a Blade template with this package?
You define the menu structure once in configuration or a service provider and then output it inside your Blade layout. The exact directive or component name was not included in the supplied metadata, so check the repository README for the current v2 API. After the v2 rename, use the m2m prefixed names rather than the old v1 bundle names.
Which Laravel and PHP versions does m2mtech/ux-navigation support?
The supplied assessment does not list PHP or Laravel version constraints, so inspect the package's composer.json require block and the README before adoption. Confirm it supports your target Laravel release and PHP version, and test on a branch before committing. This matters especially for v2, which is a major release with breaking changes.
Is m2mtech/ux-navigation v2 a drop-in upgrade from v1?
No. v2.0.0 is a major release with two documented backward-compatibility breaks, including a renamed bundle and new m2m name prefixes. Any application code, config keys, routes, views, translations, or extension registrations that reference the old bundle name must be updated. Inventory all v1 usage before upgrading and treat it as a migration rather than a patch.
What changed in v2.0.0 and how do I migrate from v1?
According to the technical assessment, v2 renames the bundle and introduces m2m prefixes that can affect namespaces, config keys, routes, views, and translations, and it adds an additive dark-mode selector UI feature. Read the upstream upgrade notes, update your Composer constraint, republish or merge config and assets, replace old bundle references, clear Laravel caches, and run your automated tests. Keep a rollback path to v1 until production validation completes.
Do I need to publish config or assets, and does it use Laravel package auto-discovery?
The package is described as a Composer-installed Laravel package and likely relies on package auto-discovery. Whether you must publish config, views, or assets is not specified in the supplied metadata, so check the README and service provider. If you do publish files, make sure v2 republishing or merging happens during the upgrade, because stale published assets and config are a named failure mode.
How should I centralize navigation configuration so menus stay consistent across views?
The package is designed for centralized, reusable menu configuration, so define items in one place instead of hardcoding links in every Blade view. Use the fluent API to declare labels, URLs, and child items, and let the package handle active states when rendering. This keeps menus consistent across layouts and turns navigation changes into a single-file edit.
Does the dark mode selector require extra CSS or JS assets, and will it affect my frontend build?
The dark-mode selector is described as an additive UI feature in v2 and may ship CSS or JS assets that interact with your frontend pipeline. Confirm whether it requires published assets and whether your project uses Vite, Laravel Mix, or another build tool. Also check asset cache-busting and verify layout and contrast in staging, since UI regressions are a listed risk.
Is m2mtech/ux-navigation safe to use in production, and what are the maintenance risks?
Runtime impact is likely minimal, but v2's breaking changes increase the maintenance burden for existing consumers. Assign an internal owner, track upstream releases, keep a local upgrade and naming map, and confirm vendor support for v2 and your Laravel and PHP versions. Maintain a rollback path to v1 until production validation completes, and avoid bundling this upgrade with unrelated Laravel or PHP major upgrades.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo