Save the files and load them with a PSR-4 namespace and add the service provider to config/app.php replacing the stock validator
Turns out by default Laravel checks the file for its type instead of getting the mime type from the webserver.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community