title: Find max value of a column in laravel
body: <p>The problem started because I have a table (Clientes), in which the primary key is not auto-incremental. I want to select the max value stored in a column database. </p>
  
  <p>Like this select, but with eloquent ORM (Laravel): </p>
  
  <pre><code>SELECT MAX(Id) FROM Clientes
  </code></pre>
  
  <p>How can I do this?</p>
  
  <p>I tried: </p>
  
  <pre><code>Cliente::with('id')-&gt;max(id);
  Cliente::select('id')-&gt;max(id);
  </code></pre>
  
  <p>I prefer not to make a simple raw <code>SELECT MAX(ID) FROM Clientes</code></p>
  
  <p>I cannot make it. </p>
  
  <p>Thanks all!</p>