'require|fileSize:10485760|fileExt:jpg,jpeg,png', ]; protected $message = [ 'image.require' => 'Please select a file.', 'image.fileSize' => 'Please ensure that the file size is within 10 MB.', 'image.fileExt' => 'Please upload the image in jpg, jpeg, or png format.', ]; protected $scene = [ 'uploadImage' => ['image'], ]; }