Menu Manager

Codacy Badge StyleCI License Total Downloads Latest Stable Version

Menu Manager dependency for Laravel Enso

Watch the demo

click on the photo to view a short demo in compatible browsers


  • allow for the easy management of the main (sidebar) menus of the application
  • permits the creation, update, delete, ordering of the menus

Under the Hood

  • a menu element may have several roles attached and is rendered only for the users with the respective roles
  • menu element attributes:
    • parent_id: the id of its parent menu, if he has a parent, or null
    • name: the label that is translated and visible in the UI
    • icon: the icon classes, visible in the UI
    • order_index: used for ordering the elements of the menu in the desired sequence
    • link: is the link that's going to be accessed when clicking on the menu
    • has_children: is a flag telling us if a menu element has children and is used when rendering the menu
  • for the menu changes to take effect, a page refresh or a re-login is needed

Usage Notes

Please note that because we want to keep the compiled size down, throughout the enso ecosistem, icons are imported selectively.

What this means for the menu editor, is that when adding/changing a menu, you should also make sure you import the required icons. The proper place to include the new icons is:



  • php artisan vendor:publish --tag=menus-assets - the VueJS pages and components
  • php artisan vendor:publish --tag=enso-assets - a common alias for when wanting to update the VueJS assets, once a newer version is released, can be used with the --force flag
  • php artisan vendor:publish --tag=menus-factory - the factory for the Menu model
  • php artisan vendor:publish --tag=enso-factories - a common alias for when wanting to update the factories, once a newer version is released, usually used with the --force flag


The Laravel Enso Core package comes with this package included.

Depends on: