title: Laravel parsing a nested serialized query string
body: <p>I'm trying to pass a nested set of query params to my Laravel 5.1 API. I'm using <code>$httpParamSerializer(params)</code> the serialize the object, which seems to do it correctly as the <code>GET</code> looks like:</p>
  
  <pre><code>GET "http://my-api.localhost/1.0/categories?category=Anatomy&amp;category=Consent+Forms"
  </code></pre>
  
  <p>Yet, when I return the <code>$request</code> from Laravel, it shows only one of the properties: </p>
  
  <pre><code>Object {category: "Consent Forms"}
  </code></pre>
  
  <p>Why is this?</p>
  
  <p>Angular Frontend:</p>
  
  <pre><code>        var filters = {
              category : ['Anatomy', 'Consent Forms']
          };
  
          Category.getCategories(filters).then(function(res) {
              // Object {category: "Consent Forms"}
              console.log('CATEGORIES', res.data);
  </code></pre>
  
  <p>Angular HTTP Request:</p>
  
  <pre><code>        getCategories: function(params) {
              var qs = $httpParamSerializer(params);
              return $http({
                  method: 'GET',
                  url: url + ver + '/categories?' + qs,
                  headers: Auth.getOAuthHeader(),
                  cache: true
              });
          },
  </code></pre>
  
  <p>Laravel: </p>
  
  <pre><code>public function getCategories(Request $request) {
      $input = $request-&gt;all();
      return $input;
  </code></pre>