I have read couple of post regarding the issue of checking the file extension while upload a file using laravel.
I have the same issue and didn\'t file the solution
Surprised!
Its getting text/plain mime for the CSV, that was the cause of the issue.
text/plain
So to fix this I just found which extension is responsible for text/plain and I found txt so i just updated my rules:
return [ 'sheet' => 'required|mimes:csv,txt' ];