laravel-menu icon indicating copy to clipboard operation
laravel-menu copied to clipboard

A quick way to create menus in Laravel

Results 32 laravel-menu issues
Sort by recently updated
recently updated
newest added

Good afternoon. I added a submenu however I wanted to add a submenu to this one. How do I do in that case? Can someone help me?

$menu->add('Home', 'home')->data('role', ['administrator', 'user'], 'color', 'red'); The color doesn't appear

question

I just wanted to point out to anyone having issues with the [Filtering the items](https://github.com/lavary/laravel-menu#filtering-the-items) section for checking is a user can see the menu item based on their permissions,...

bug

Would it be possible to only sort the subitems? See the example below, I'd like to only sort the children of the settings menu item. ```php Menu::make('mainmenu', function($menu) { $menu->add('Dashboard',...

question

Hello I have this HTML Menu Structure Adminstrator Users I try to figure out with $menu->add('' . __('Dashboard') . '', ['class' => 'nav-item', 'route' => 'dashboard']); $menu->add('' . __('Usuarios y...

question

It would be great if it would be possible to specify the active class for each element, the tests showed everything ok works Config: ``` 'default' => array( 'active_class_item' =>...

enhancement
good first issue

if we set attr() method on menu item or link,it will clear the menu active class,to fix this problem,we shoud made some change to function attr() on Lavary\Menu\Item and Lavary\Menu\Link...

bug
enhancement

I cannot understand how to build menu with nested categories from database. I have categories build with [laravel-nestedset](https://github.com/lazychaser/laravel-nestedset/issues) So normally I can build tree-like menu with this code in controller...

question

In my opinion it would be good if you would create an img() method like the raw() method. Then insted of this: `$menu->find('current_user')->raw("");` it would look like this: `$menu->find('current_user')->img("img_path...",['style' =>...

enhancement

It would be greate to have third parameter on make method, which will give builder type to instantiate. For example: `Menu::make('AdminMenu', function($menu) {}, AdminMenu::class);` Then we could extend menu like:...

enhancement