$name = $request->query('name', 'Helen');
dd($request->all()); //print an array of the input name and the input value
$request->fullUrl()
if ($request->has('name')) { // }