title: get the url in the middleware laravel
body: <p>I have my middleware and inside it I am trying to reach the current url of the page. so I did something like that:</p>
  
  <p><code>$url = Request::url();</code></p>
  
  <p>and I used:</p>
  
  <p><code>use App\Http\Requests;
  use Illuminate\Http\Request;</code></p>
  
  <p>but I keep getting the following error:</p>
  
  <p><code>Non-static method Illuminate\Http\Request::url() should not be called statically, assuming $this from incompatible context</code></p>
  
  <p>any ideas?</p>