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. Add links via routes/actions/URLs, customize attributes and classes, and automatically set active items from the current request. Includes macros for reusable menu builders.

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
  • add support for Laravel 8
3.5.1
  • fix deps
3.5.0
  • Added: Laravel 7 compatibility
3.4.0
  • Added: Laravel 6.0 compatibility
3.3.1
  • Added: Laravel 5.8 compatibility
  • Removed: PHP 7.0 support
3.3.0
  • 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: Tuple notation for actions
3.1.1
  • Added: Laravel 5.7 compatibility
3.1.0
  • Added: Laravel 5.6 compatibility
3.0.0
  • Laravel 5.5 compatibility
  • Moved facade to Spatie\Menu\Laravel\Facades\Menu
2.1.5
  • Code signature fixes
2.1.4
  • Bumped the menu package version requirement
2.1.3
  • Fixed a regression caused by an old use statement
2.1.2
  • Removed the unused fifth $route parameter in route
2.1.1
  • drop support for Laravel 5.1
2.1.0
  • add support for Laravel 5.4
2.0.3

Added a 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
  • Fix Link's action helper so it can take the same type of parameters as the Laravel's action helper
2.0.0
  • 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.
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.
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
ecotone/kafka
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata