title: Laravel 4 Get HTTP Basic Authentication Credentials
body: <p>I need to make a custom basic.auth filter as this one doesn't fit my requirements, how can I get the credentials for a HTTP Basic Authentication request?</p>
  
  <pre><code>Route::filter('auth.basic', function()
  {
      return Auth::basic('username');
  });
  
  
  Route::filter('auth.basic', function()
  {
      $username = request-&gt;http_username...
  });
  </code></pre>