Laravel se a solicitação tiver
if ($request->has('name')) {
//
}
MrDracoula
if ($request->has('name')) {
//
}
$name = $request->query('name', 'Helen');
if ($request->has('name')) {
//
}
dd($request->all());
//print an array of the input name and the input value
$request->fullUrl()