In validator sets mime: 'audio/mpeg,audio/mp3,mp3'
File: $ file-> getMimeType () / / -> audio/mp3
And this does not work. How to make validation .mp3 files?
I had the same problem last week. It has something todo with the symphony function used by laravel. You need to specify 'mpga' instead of 'mp3'. Why? Read here: https://github.com/symfony/symfony/issues/8678#issuecomment-22171646
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community