image validation in laravel 5.6 code example Example: laravel image validation 'image' => 'required|image|mimes:jpeg,png,jpg,gif,svg|max:2048',