Answers for "laravel validation file image size"

PHP
1

image dimension when uploading in laravel validation

$this->validate($request, [    'image' => 'required|image|mimes:jpeg,png,jpg,gif,svg|max:2048|dimensions:width=500,height=500',]);
Posted by: Guest on April-23-2021
0

laravel image max size validation

max:10000 //10MB
Posted by: Guest on June-17-2021

Code answers related to "laravel validation file image size"

Browse Popular Code Answers by Language