title: How to pass cookie while returning a view from controller in Laravel 7.x?
body: <p>In laravel 7.x is there any way to pass the cookie to the client while returning view?</p>
  <p>Similar to like:</p>
  <pre><code>return view(&quot;welcome&quot;)-&gt;cookie('name','value',$min);
  </code></pre>