image dimension when uploading in laravel validation

Solutions on MaxInterview for image dimension when uploading in laravel validation by the best coders in the world

showing results for - "image dimension when uploading in laravel validation"
Thiago
16 Nov 2020
1$this->validate($request, [    'image' => 'required|image|mimes:jpeg,png,jpg,gif,svg|max:2048|dimensions:width=500,height=500',]);