Weave Code
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
Laravel Menu

Laravel Menu Laravel Package

spatie/laravel-menu

Build HTML menus in Laravel with a fluent API. Generate links from routes/actions/URLs, group items, add attributes/classes, and automatically set the active item from the current request. Extensible via macros; renders to HTML ready for Blade.

View on GitHub
Deep Wiki
Context7

spatie/laravel-menu provides a fluent, expressive API for building HTML menus in Laravel, with helpers tailored to common framework needs. Define menus as reusable macros, generate links from actions/routes/URLs, and render markup cleanly in your views.

It’s the Laravel-friendly counterpart to Spatie’s base menu package, adding conveniences like request-aware active states and URL generation.

  • Fluent builder for menus and menu items
  • Laravel helpers for controller actions, routes, and URLs
  • Macros to define reusable menus (e.g., Menu::main())
  • Automatically set the active item from the current request
  • Easy rendering in Blade with {!! ... !!}
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport