Generate route with query string in Laravel

Lately I’ve been messing around with Laravel and while building a component for my application I’ve noticed that Laravel doesn’t generate a url with query strings. The “pretty urls” work just fine, but what I really needed in my case  was url with a query string like

For the purposes of this blog post, I choose a basic example of indexing all movies stored in our database and filtering the data based on movie’s name.
Continue reading “Generate route with query string in Laravel”