url::to with value laravel code example
Example: laravel url with parameters blade
url('path') . '?' . http_build_query(['param1' => 'value', 'param2' => 'value']);
url('path') . '?' . http_build_query(['param1' => 'value', 'param2' => 'value']);