title: Laravel whereIn OR whereIn
body: <p>I'm making a products search by filters:</p>
  
  <p>My code:</p>
  
  <pre><code>-&gt;where(function($query) use($filter)
  {
    if(!empty($filter)){
      foreach ($filter as $key =&gt; $value) {           
        $f = explode(",", $value);        
        $query-&gt; whereIn('products.value', $f);
      }           
    }
  })
  </code></pre>
  
  <p>Query:</p>
  
  <pre><code>and (products.value in (Bomann, PHILIPS) and products.value in (red,white)) 
  </code></pre>
  
  <p>But I need:</p>
  
  <pre><code>and (products.value in (Bomann, PHILIPS) OR products.value in (red,white)) 
  </code></pre>
  
  <p>Is there something similar in Laravel:</p>
  
  <pre><code>orWhereIn
  </code></pre>