spatie/laravel-paginateroute
Adds a Laravel route macro to paginate via clean, translatable URLs like /news/page/2 instead of ?page=2. Includes a paginate route method and facade for generating pagination links. Note: this package is abandoned/unsupported—fork if needed.
Request facade importpageUrl method query bugpageUrl method query bugReturn route from paginate macro to allow chaining
renderRelLink()Fix Laravel 5.0 bug introduced in 2.0.2
Bugfix: routes with parameters will now render correctly
This release changes the route macro to only register one route with the entire query in it, so providing a page parameter to the action link is no longer possible.
For example, action('FooController@bar', ['page' => 3]) is no longer possible, and should be replaced by PaginateRoute::addPageQuery(action('FooController@bar'), 3).
Stable release 1.1.0
How can I help you explore Laravel packages today?