Retrieving Uploaded Files: Validating Successful Uploads

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

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

Retrieving Uploaded Files: Validating Successful Uploads — Structure map

Clickable & Draggable!

Retrieving Uploaded Files: Validating Successful Uploads — Related pages: