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 Package

spatie/laravel-menu

Build HTML menus in Laravel with a fluent API. Generate links via routes/actions/URLs, add classes and attributes, mark active items from the current request, and define reusable menu macros. Easy to render in Blade and customize output.

View on GitHub
Deep Wiki
Context7
4.2.2

Add Laravel 13 support

4.2.0
4.1.2
  • support Laravel 10
4.1.0
  • add support for Laravel 9
4.0.1
  • allow spatie/menu v3
4.0.0
  • Added: PHP 8 only support
  • Changed: All syntax changed to PHP 8+
  • Removed: PHP 7.x support
3.7.1
  • Support javascript: links
3.7.0
  • Add support for PHP 8
3.6.0
  • Added: Laravel 8 compatibility
3.5.0
  • Added: Laravel 7 compatibility
3.4.0
  • Added: Laravel 6 compatibility
3.3.1
  • Added: Laravel 5.8 compatibility
  • Removed: PHP 7.0 support
3.2.1
  • Fixed: actionIf & actionIfCan signatures for Laravel 5.7 callable action syntax
3.2.0
  • Added: Support for Laravel 5.7 callable action syntax
3.1.1
  • Added: Laravel 5.7 compatibility
3.1.0
  • Added: Laravel 5.6 compatibility
3.0.0
  • Added: Laravel 5.5 compatibility
  • Removed: Dropped support for older Laravel versions
  • Changed: Moved facade to Spatie\Menu\Laravel\Facades\Menu
2.1.5
  • Fixed: Code signature fixes
2.1.4
  • Changed: Bumped the menu package version requirement
2.1.3
  • Fixed: Regression caused by an old use statement
2.1.2
  • Removed: Unused fifth $route parameter in route
2.1.1
  • Removed: Dropped support for Laravel 5.1
2.1.0
  • Added: Support for Laravel 5.4
2.0.3
  • Added: Default $data argument to Menu::viewIf and Menu::viewIfCan
2.0.2
  • Fixed: other url helpers so they can take the same type of parameters as the Laravel's counterparts
2.0.1
  • Fixed: Link's action helper so it can take the same type of parameters as the Laravel's action helper
2.0.0
  • Changed: Upgraded spatie/menu to 2.0.
  • Added: Added a View item implementation to use blade views as menu items.
  • Changed: Link builder methods have been renamed and now have a to prefix: Link::toAction, Link::toRoute and Link::toUrl.
1.2.0
  • Added: The Menu class now implements the Illuminate\Contracts\Support\Htmlable interface
  • Fixed: Some dependency issues, this package now requires illuminate 5.1.14 or higher components
1.1.0
  • Added: Conditional add functions urlIf, actionIf and routeIf
  • Added: Authorized add function addIfCan, linkIfCan, htmlIfCan, urlIfCan, actionIfCan and routeIfCan
1.0.0
  • Initial release
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.
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai