title: Outputting cookie in Laravel-5/Blade
body: <p>I have cookie date stored in a serialized array which I would like to access via the Blade template.</p>
  
  <p>If a cookie value is set matching the current field name, then I want to show it.  I am currently using the following code, but I'm not sure how to access the array value.</p>
  
  <pre><code>{{{ Cookie::has('myBookingDetails') ? Cookie::get('myBookingDetails') : old('name') }}}
  </code></pre>
  
  <p>The value of the myBookingDetails cookie looks like this:</p>
  
  <pre><code>a:4:{s:4:"name";s:13:"Joe Bloggs";s:5:"email";s:29:"joe@domain.co.uk";s:5:"phone";s:11:"0777777777";s:3:"reg";s:6:"123456";}
  </code></pre>
  
  <p>How can I access the "<em>name</em>" value via Blade?</p>