title: Lumen: get URL parameter in a Blade view
body: <p>I'm trying to get a url parameter from a view file.</p>
  
  <p>I have this url:</p>
  
  <pre><code>http://locahost:8000/example?a=10
  </code></pre>
  
  <p>and a <em>view</em> file named <code>example.blade.php</code>.</p>
  
  <p>From the controller I can get the parameter <code>a</code> with <code>$request-&gt;input('a')</code>. </p>
  
  <p>Is there a way to get such parameter from the view (without having to pass it from the controller to the view)? </p>