title: Laravel 5.3 URL query string
body: <p>I have a URL like this:</p>
  
  <pre><code>www.test.com?query[ch_id]=1,query[category_id]=2,query[item_id]=3
  </code></pre>
  
  <p>Using Laravel functions what is the tidiest way I can retrieve as:</p>
  
  <pre><code>$query = [
   'ch_id' =&gt; 1,
   'category_id' =&gt; 2,
   'item_id' =&gt; 3,
  ];
  </code></pre>