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.
Add Laravel 13 support
Full Changelog: https://github.com/spatie/laravel-menu/compare/4.2.0...4.2.1
Full Changelog: https://github.com/spatie/laravel-menu/compare/4.1.2...4.2.0
Full Changelog: https://github.com/spatie/laravel-menu/compare/4.1.0...4.1.1
Added: PHP 8 only support Changed: All syntax changed to PHP 8+ Removed: PHP 7.x support
javascript: linksactionIf & actionIfCan signatures for Laravel 5.7 callable action syntaxSpatie\Menu\Laravel\Facades\Menuuse statement$route parameter in routeAdded a default $data argument to Menu::viewIf and Menu::viewIfCan
Fixed other url helpers so they can take the same type of parameters as the Laravel's counterparts
Link's action helper so it can take the same type of parameters as the Laravel's action helperspatie/menu to 2.0.View item implementation to use blade views as menu items.to prefix: Link::toAction, Link::toRoute and Link::toUrl.How can I help you explore Laravel packages today?