Add parameters to current URL

Posted 3 years ago by Demers94


I have a URL like this :


I would like that, when I click on a link, it adds the parameter to the current URL without removing the existing parameters. The end result would be something like that :


In non-Laravel projects, I use http_build_query to achieve that, but I was thinking that there must be a cleaner way to do that in Laravel 5.

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.