Files: Retrieving Uploaded Files
You may access uploaded files from a Illuminate\Http\Request instance using the file method or using dynamic properties.
You may determine if a file is present on the request using the hasFile method.
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.
File Paths & Extensions
The UploadedFile class also contains methods for accessing the file's fully-qualified path and its extension.
Semantic portal