url parameters php laravel controller code example
Example 1: laravel url with parameters blade
url('path') . '?' . http_build_query(['param1' => 'value', 'param2' => 'value']);
Example 2: laravel get url parameters in controller
Route::put('user/{name}', 'UserController@show');