To verify there were no problems while uploading the file using isValid() function
if ($request->file(‘photo’)->isValid()) {
//
}
To verify there were no problems while uploading the file using isValid() function
if ($request->file(‘photo’)->isValid()) {
//
}