Customizable Paginated Routes
Published on by Eric L. Barnes
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:
http://example.com/news/page/2
Or fully translatable:
http://example.com/nieuws/pagina/2http://example.com/nachrichten/seite/2
Eric is the creator of Laravel News and has been covering Laravel since 2012.