Support spatie/laravel-fast-paginate for fast pagination - #89
Conversation
Fast pagination is added by a macro, so method_exists never sees it and every fast paginated request would abort. Check the macro registry, which also keeps the goal of the PR: any package that provides one will do. Point the docs at spatie/laravel-fast-paginate, and cover both branches with tests. Co-Authored-By: Claude <noreply@anthropic.com>
Add spatie/laravel-fast-paginate to the list of packages that provide fast pagination, and cover the check with tests. Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
|
Thanks for raising this, and sorry for taking over your branch a bit. You were right that the situation needed fixing: So this PR now adds |
Seeing as the
hammerstone/fast-paginatepackage is archived, andaarondfrancis/fast-paginateis not updated to Laravel 13, it would be nice to be able to write a custom macro to use the fast pagination, like the one written in aarondfrancis/fast-paginate#81