caffeinated / menus

:pushpin: Menu generator package for the Laravel framework
https://caffeinatedpackages.com
132 stars 59 forks source link

Module Menus? #87

Closed tankerkiller125 closed 8 years ago

tankerkiller125 commented 8 years ago

I know that you have a modules repo. What I would like to do is build a unified admin page where all these modules can be controlled (there settings and what not). However I would also like to support 3rd part Modules. What this means is that I would like it so that each module can add on to a already defined menu when its loaded. Is there an easy way to do this?

maisn3r commented 8 years ago

This is pretty simple, in your global system you can make menu collection, then in each module you can call the collection via ::get() and add items.