You can use a view composer. That's basically a piece of code that get's executed when a certain view (in that case your layout) is rendered and can give it some additional information (like your menu).
You can find it in the docs here: http://laravel.com/docs/5.1/views#view-composers
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community