Checking if the user is on the last page of pagination in Laravel 8.x
January 30, 2022 — Up until now, when you’re working with Laravel’s paginator and if you wanted to check whether the user is on the first page of the pagination in a Blade file, you would be using the onFirstPage()
method like so.