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
  • 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.
codraw/framework-extra-bundle
codraw/messenger
codraw/security
codraw/mailer
codraw/contracts
codraw/profiling
codraw/dependency-injection
codraw/tester
codraw/core
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