title: Laravel: Passing default variables to view
body: <p>In Laravel, we all pass data to our view in pretty much the same way</p>
  
  <pre><code>$data = array(
      'thundercats' =&gt; 'Hoooooooooooh!'
  );
  return View::make('myawesomeview', $data);
  </code></pre>
  
  <p>But is there some way to add default variables to the view without having to declare it over and over in <code>$data</code>? This would be very helpful for repeating variables such as usernames, PHP logic, and even CSS styles if the site demands it.</p>