{{-- @if ($paginator->onFirstPage()) Previous @else Previous @endif @foreach ($paginator->getUrlRange(1, $paginator->lastPage()) as $page => $url) @if ($page == $paginator->currentPage()) {{ $page }} (current) @else {{ $page }} @endif @endforeach @if ($paginator->hasMorePages()) Next @else Next @endif --}}