title: How to make a global header in laravel
body: <p>I have a laravel website I'm making.  I'd like to have a dynamic header that's persistent across every single page (Just like how stack overflow has their notification bar on the top of the header.  It contains dynamic content).</p>
  
  <p>Is there a way that I can build this dynamic header content and include it in every blade template without having to build it from inside each controller and passing it to the View that that controller is serving up?  I have a lot of pages and controllers and it just doesn't seem right if I have to go into every single controller method to include this code to build the header and then pass the header contents into the view.</p>
  
  <p>I know one method to do this could be to simply have ajax fill in the header on each page load, but this seems inefficient since I'd rather have the sidebar contents be served up with the page all at the same time instead of having the page load, and then fetching the header contents with ajax.</p>
  
  <p>I also thought perhaps I could call something from within my own custom BaseController class that all the controllers extend from, however, that would still have me passing in a variable into each View::make() manually.</p>