I have a paginated collection like
Post::where('active', 1)->paginate(10)
and I would like to get the start and end position of the current portion of collection. I mean if page is 2 and page limit is 10 then the start position is 11 and end position is 20. I need to render a text like products from 11 to 20 of total 284 products. Is it possible or not?