@php $hasItems = $paginator && $paginator->total() > 0; @endphp @if($paginator != null)
@if($hasItems) Showing {{ $paginator->firstItem() }} to {{ $paginator->lastItem() }} of {{ $paginator->total() }} @else Showing 0 to 0 of 0 @endif
@if($hasItems && $paginator->total() > $paginator->perPage()) Go to first page @endif