How should one handle query strings with Laravel? Is this fine? If it is then are there better or more ways to do it? What instances is it better to use it over "pretty" URLs?
@morteza not to be rude but I am already aware of that. I am just noticing some people still use query strings over such URL structures with Laravel, and I'm wondering why.
If you are following restful principles then you would have specific routes like /edit and then add query strings for variant data that you need to pass to the same route rather than create new routes.
So, as thomaskim says, things like filters and paginators. You are still hitting the same resource but you have some additional information to pass along