Not getting complete URL parameters
if you don't want to change the structure of your url.

you can use Explode function

I have made a helper function try it out:

function getParamsOfUrlWithSameKey(){
  $current_uri = \Drupal::request()-&gt;getRequestUri();
  $items = explode('?', $current_uri);
  $res_param = [];
  if (isset($items[1])) {
    $params = explode('&amp;', $items[1]);
    foreach ($params as $param) {
      $param_value = explode('=', $param);
      $key = $param_value[0];
      $value = $param_value[1];
      $res_param[$key][] = $value;
    }
  }
  return $res_param;
}


The return of this function will be something like:

array:1 [▼
   "filter-value" =&gt; array:2 [▼
     0 =&gt; "67"
     1 =&gt; "80"
   ]
 ]