title: Getting current URI in Laravel 5.7
body: <p>I am aware that in the previous versions of Laravel (e.g. 4), one could get the current uri through </p>
  
  <pre class="lang-php prettyprint-override"><code>Route::current()-&gt;uri();
  </code></pre>
  
  <p>However, this doesn't seem to work in Laravel 5.7 or later. I am wondering how it should be rewritten. 
  Please note that I am accessing the uri in a blade view and hence cannot use non-static methods.</p>