title: How to get the month duration in Laravel
body: <p>I have a <code>startdate</code> and and <code>enddate</code>in the format <code>Y-m-d</code>. </p>
  
  <pre><code>'startdate'=&gt;date('Y-m-d', strtotime(Input::get('startdate'))),
  'enddate'=&gt;date('Y-m-d', strtotime(Input::get('enddate')))
  </code></pre>
  
  <p>How can I get the Duration between these two days, like <code>2 months</code> or <code>1 month</code> or <code>2 weeks</code> in Laravel?</p>