title: generate url parameter like ?filter[color]=2&filter[brand]=apple with select dropdown option Laravel
body: <p>Hi In my Project I want to filter product by select option, I have some drop-down select option:</p>
  
  <p>first is colors and second is brands and etc.</p>
  
  <p>I use a method that use elequentbuilder. in my scenario
  parameters should pass to controller like <a href="http://localhost:8000/news/search?filter[color]=red&amp;filter[brand]=apple" rel="nofollow noreferrer">http://localhost:8000/news/search?filter[color]=red&amp;filter[brand]=apple</a>.</p>
  
  <p>my question is what's best way to implement this scenario
  that means when i select color dropdown form submits and shows <a href="http://localhost:8000/news/search?filter[color]=red" rel="nofollow noreferrer">http://localhost:8000/news/search?filter[color]=red</a> in next request when I select brand from select drop down form submits and shows
  <a href="http://localhost:8000/news/search?filter[color]=red&amp;filter[brand]=apple" rel="nofollow noreferrer">http://localhost:8000/news/search?filter[color]=red&amp;filter[brand]=apple</a> and etc 
  I'm just looking for a way to generate url like what I said.</p>