laravel request is and has code example
Example 1: laravel if request has
if ($request->has('name')) {
//
}
Example 2: how to see with page reuested in laravel
$request->fullUrl()
if ($request->has('name')) {
//
}
$request->fullUrl()