Laravel provides a veri useful method to verify if value is present on the request and is not empty.
if ($request->filled('name')) {
//
}
From 5.6.12 release you can use the new filledAny method.
if ($request->filledAny(['name', 'surname','email'])) {
//
}
Or
if ($request->filledAny('name', 'surname','email')) {
//
}