Customizable Paginated Routes

Packages

June 17th, 2015

Laravel Paginated Routes

Out of the box, Laravel provides pagination but they are opinionated in how the url’s are generated. This pagination package allows you to customize the links by using translations and removes the query string parameter.

For an example, here is what your new links can look like:

1http://example.com/news/page/2

Or fully translatable:

1http://example.com/nieuws/pagina/2
2http://example.com/nachrichten/seite/2

Filed in:

Eric L. Barnes

Eric is the creator of Laravel News and has been covering Laravel since 2012.