title: how can i increment 6 months selecting from database to_date field?
body: <p>I'm making my project,and want to increment date from fetching to_date filed with 6 months if last to_date is gone then add more 6 months and so on what can i do for this?</p>
  
  <pre class="lang-php prettyprint-override"><code>$abc=(Session::get('email'));
  $email= $request-&gt;input('email');
  
  if (Maintenance::where('email', '=', $email)) {
      $users=Carbon::create(2019,0,30)-&gt;addMonths(6)-&gt;toDatestring();
  
      if (Maintenance::where('maintenance_status', '=', 'PAID')-&gt;orderBy('todate','DESC')) {
          $check = Maintenance::select('to_date')-&gt;where('maintenance_status', '=', 'PAID')-&gt;orderBy('to_date','DESC')-&gt;get();
          // $users= Carbon($check[0])-&gt;addmoths(6);
          $users = Carbon::addMonths(6)-&gt;toDatestring();
  </code></pre>
  
  <p>i expect the output of 30-06-2019,30-12-2019 and so on but the actual output is only increment one time using Carbon and i want to increment  fetching from database date</p>