laravel get parameter from url to blade code example
Example 1: how to get variable from url in laravel
request('variable')
Example 2: laravel url with parameters blade
url('path') . '?' . http_build_query(['param1' => 'value', 'param2' => 'value']);