@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
@if($paginator->hasPages())
@if(!$paginator->onFirstPage()) @else @endif @if($paginator->hasMorePages()) @else @endif
@endif
@endif