Modifying the $parameters Declaration | Laravel Paginator Pretty URLs
We need to change the $parameters declaration and make it so it is just an empty array. Let's also store the page name in its own variable, since we will use it later. We do not need to change the code that builds the parameters array from the...