Extend the Paginator’s Query String
By default Laravel’s paginator does not follow the query strings when it’s generating URLs. It can be an issue when we perform a search and append the keywords in the query string, but the next page’s URL removes it entirely. With this snippet, you can extend the paginator’s URL and make your browsing fluent.
Follow us on Twitter
Do you want to support and help us? A Twitter following or a sharing means a lot to us. Thank you!