Snippets tagged “uploaded-file”
1 snippet uses this tag.
- Get an image extension from an uploaded file in LaravelPHP
To get the extension of an uploaded file in Laravel, you can use the getClientOriginalExtension method of the UploadedFile instance, which is available in the request object.