title: Laravel/Lumen api filter
body: <p>recently I'am trying to make my api filtering work. I need to filter my products like this: <code>http://localhost/search?feature_id=1,2,3,4,5...</code><br>
  Everything is fine if I'm sending only 1 id. But how to make it work in this way? </p>
  
  <p>This is my controller:</p>
  
  <pre><code> public function search2(\Illuminate\Http\Request $request) {
          $query = DB::table('tlt_product_features'); 
  
          if ($request-&gt;has('feature_id') ) {
              $query = $query-&gt;whereIn('feature_id', [$request-&gt;get('feature_id')]);
          }
  
          $products = $query-&gt;get();
  
          return response()-&gt;json([
              'products' =&gt;$products
          ]);
      } 
  </code></pre>