excel file upload validation mime type error.

Posted 3 years ago by umefarooq

Hi i am trying to upload excel file i am also validating excel file but facing problem with excel file mime type validation here is code i am using for file

'file' => 'required|mimes:xls,xlsx'

i don't know how laravel is checking mime, where i can set missing mimes for excel files in laravel.

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.