Before I start, I should give you the information, that I am totally new on Laravel, so please!! Don't shout me :)
I have start with Laravel a few days ago, and today I just installed the vespakoen/menu
that seems to be very nice, and probably wil work for what I need it.
Just to know, currently I have installed the Laravel 5.1
on my system.
So, the problem I currently have, is where to register my menus in order to be accessible by my application, on every view.
Should I create a service provider ? Should I create a single class and included on bootstrap process ?
What is the correct way to perform this task ?
Create a layout with menu and all common parts. Extends the template in all your views.
OR
Use View::share
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community