Answers for "validate image instead of required in laravel"

PHP
6

laravel image validation

'image' => 'required|image|mimes:jpeg,png,jpg,gif,svg|max:2048',
Posted by: Guest on May-30-2020
1

image validate in laravel validater

$this->validate($request, ['file' => 'image|mimes:jpeg,png,jpg,gif,svg|max:2048',]);
Posted by: Guest on October-20-2020

Code answers related to "validate image instead of required in laravel"

Browse Popular Code Answers by Language