Support the ongoing development of →
Requests Input Validation
Last updated 2 years ago.


The MIME type of apk files is application/ and not apk.

I am not 100% sure how the mimes rule works, but I am sure it don't have a list of all available MIME types.

Don't know if this will work but try

$validator = Validator::make( Input::all(), array( 'apk' => 'required|mimes:application/' )
Last updated 2 years ago.

Sign in to participate in this thread!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.