Base64 validation #50487
Replies: 2 comments 5 replies
-
https://laravel.com/docs/10.x/validation#rule-mimes |
Beta Was this translation helpful? Give feedback.
-
To make a custom validation run the command
to call the validation you can try as follows
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there any way in Laravel to validate base64 encoded files? For example, check that the parameter is base64 encoded, that it is png encoded, or that its maximum size is no more than a few MB? It looks like a common use case, but I didn't find it in the documentation.
Beta Was this translation helpful? Give feedback.
All reactions