@php function get_page_number(string $page_url) { $data = parse_url($page_url); parse_str($data['query'], $output); return $output['page'] ?? '1'; } @endphp @if ($paginator->hasPages())
@endif