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.
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.
Menu::main()){!! ... !!}How can I help you explore Laravel packages today?