laravel redirect with parameter code example Example: laravel return redirect to named route return redirect()->route('login');