title: Using serial number with paginate
body: <p>I am trying to retrieve serial number in the blade template with variable <code>i</code>:</p>
  
  <pre><code>    &lt;?php $i=0;?&gt;
      @foreach ($lists as $li)
      &lt;tr&gt;&lt;td&gt;&lt;?php $i++;?&gt;{{$i}}&lt;/td&gt;&lt;td&gt;{{$li-&gt;Name}}&lt;/td&gt;&lt;td&gt;{{$li-&gt;Telephone}}
      &lt;/td&gt;&lt;td&gt;{{$li-&gt;mobile}}&lt;/td&gt;
      @endforeach
      {!! $lists-&gt;render() !!}
  </code></pre>
  
  <p>but I am using paginate in the controller:</p>
  
  <pre><code>$lists=telephone::orderBy('name')-&gt;simplePaginate(10);
  </code></pre>
  
  <p>So, the first page's serial number is ok. But for the second page <code>i</code> starts from 1 again.</p>