897 0 0 0
Last Updated : 2024-04-30 21:36:19
how to show elements count in pagination in laravel blade such as 1-10 of 50 records
<span> {{ $products->firstItem() }}-{{ $products->lastItem() }} of {{ count( \App\Models\Product::all() )}}</span>
or use this
<span> {{ $products->firstItem() }}-{{ $products->lastItem() }} of {{ $products->total() )}}</span>