title: Eloquent ->first() if ->exists()
body: <p>I want to get the first row in table where condition matches:</p>
  
  <pre><code>User::where('mobile', Input::get('mobile'))-&gt;first()
  </code></pre>
  
  <p>It works well, but if the condition doesn't match, it throws an Exception:</p>
  
  <pre><code>ErrorException
  Trying to get property of non-object
  </code></pre>
  
  <p>Currently I resolve it like this:</p>
  
  <pre><code>if (User::where('mobile', Input::get('mobile'))-&gt;exists()) {
      $user = User::where('mobile', Input::get('mobile'))-&gt;first()
  }
  </code></pre>
  
  <p>Can I do this without running two queries?</p>