@if ($paginator->lastPage() > 1)
Previous
@for ($i = 1; $i <= $paginator->lastPage(); $i++)

{{ $i }}

@endfor
Next
@endif