title: PHP Laravel : How to get client browser/ Device?
body: <p>I'm building a laravel application where I want to keep track of client browser details such as browser name.
  How do I do it using Laravel ?</p>
  
  <pre><code>public function postUser(Request $request)
      {        
              $user = new User();                                 
              $user-&gt;name = $request-&gt;Input(['name']);           
              $device=   $request-&gt;header('User-Agent');
              dd($device);
              $user-&gt;save();            
              return redirect('userSavePage');          
      }
  </code></pre>
  
  <p>I have used this  <code>$device=   $request-&gt;header('User-Agent');</code> 
  But while I dd() the output I get something Like this:</p>
  
  <pre><code>"Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36"
  </code></pre>
  
  <p>How do I get actual browser details?</p>