title: How to Create Multiple Where Clause Query Using Laravel Eloquent?
body: <p>I'm using the Laravel Eloquent query builder and I have a query where I want a <code>WHERE</code> clause on multiple conditions. It works, but it's not elegant. </p>
  
  <p>Example:</p>
  
  <pre class="lang-php prettyprint-override"><code>$results = User::where('this', '=', 1)
      -&gt;where('that', '=', 1)
      -&gt;where('this_too', '=', 1)
      -&gt;where('that_too', '=', 1)
      -&gt;where('this_as_well', '=', 1)
      -&gt;where('that_as_well', '=', 1)
      -&gt;where('this_one_too', '=', 1)
      -&gt;where('that_one_too', '=', 1)
      -&gt;where('this_one_as_well', '=', 1)
      -&gt;where('that_one_as_well', '=', 1)
      -&gt;get();
  </code></pre>
  
  <p>Is there a better way to do this, or should I stick with this method?</p>