Laravel - Requests - Validating Successful Uploads

In addition to checking if the file is present, you may verify that there were no problems uploading the file via the isValid method:

    
    if ($request->file('photo')->isValid()) {
        //
    }