Получить параметры URL в Laravel Blade
/** resources/my_view.blade.php */
{{ request()->id }}
Indian Gooner
/** resources/my_view.blade.php */
{{ request()->id }}
url('path') . '?' . http_build_query(['param1' => 'value', 'param2' => 'value']);
public function update($name)
{
User::where('name', $name)->first();
return view('test')->with('user', $user);
}