':attribute 必须接受。', 'accepted_if' => '当 :other 为 :value 时 :attribute 必须接受。', 'active_url' => ':attribute 必须是一个有效的 URL。', 'after' => ':attribute 必须是 :date 之后的日期。', 'after_or_equal' => ':attribute 必须是 :date 之后或相同的日期。', 'alpha' => ':attribute 只能包含字母。', 'alpha_dash' => ':attribute 只能包含字母、数字、短横线和下划线。', 'alpha_num' => ':attribute 只能包含字母和数字。', 'any_of' => ':attribute 无效。', 'array' => ':attribute 必须是数组。', 'ascii' => ':attribute 只能包含 ASCII 字符。', 'before' => ':attribute 必须是 :date 之前的日期。', 'before_or_equal' => ':attribute 必须是 :date 之前或相同的日期。', 'between' => [ 'array' => ':attribute 必须在 :min 到 :max 个之间。', 'file' => ':attribute 必须在 :min 到 :max KB 之间。', 'numeric' => ':attribute 必须在 :min 到 :max 之间。', 'string' => ':attribute 必须在 :min 到 :max 个字符之间。', ], 'boolean' => ':attribute 必须是布尔值。', 'can' => ':attribute 包含未授权的值。', 'confirmed' => ':attribute 两次输入不一致。', 'contains' => ':attribute 缺少必需值。', 'current_password' => '密码不正确。', 'date' => ':attribute 必须是有效日期。', 'date_equals' => ':attribute 必须等于 :date。', 'date_format' => ':attribute 格式必须为 :format。', 'decimal' => ':attribute 必须有 :decimal 位小数。', 'declined' => ':attribute 必须拒绝。', 'declined_if' => '当 :other 为 :value 时 :attribute 必须拒绝。', 'different' => ':attribute 与 :other 必须不同。', 'digits' => ':attribute 必须是 :digits 位数字。', 'digits_between' => ':attribute 必须在 :min 到 :max 位数字之间。', 'dimensions' => ':attribute 图片尺寸无效。', 'distinct' => ':attribute 存在重复值。', 'doesnt_contain' => ':attribute 不能包含以下内容::values。', 'doesnt_end_with' => ':attribute 不能以下列之一结尾::values。', 'doesnt_start_with' => ':attribute 不能以下列之一开头::values。', 'email' => ':attribute 必须是有效的邮箱地址。', 'encoding' => ':attribute 必须使用 :encoding 编码。', 'ends_with' => ':attribute 必须以下列之一结尾::values。', 'enum' => '所选的 :attribute 无效。', 'exists' => '所选的 :attribute 无效。', 'extensions' => ':attribute 必须具有以下扩展名之一::values。', 'file' => ':attribute 必须是文件。', 'filled' => ':attribute 必须有值。', 'gt' => [ 'array' => ':attribute 必须多于 :value 个元素。', 'file' => ':attribute 必须大于 :value KB。', 'numeric' => ':attribute 必须大于 :value。', 'string' => ':attribute 必须大于 :value 个字符。', ], 'gte' => [ 'array' => ':attribute 必须不少于 :value 个元素。', 'file' => ':attribute 必须大于等于 :value KB。', 'numeric' => ':attribute 必须大于等于 :value。', 'string' => ':attribute 必须大于等于 :value 个字符。', ], 'hex_color' => ':attribute 必须是有效的十六进制颜色值。', 'image' => ':attribute 必须是图片。', 'in' => '所选的 :attribute 无效。', 'in_array' => ':attribute 必须存在于 :other 中。', 'in_array_keys' => ':attribute 必须包含以下键之一::values。', 'integer' => ':attribute 必须是整数。', 'ip' => ':attribute 必须是有效的 IP 地址。', 'ipv4' => ':attribute 必须是有效的 IPv4 地址。', 'ipv6' => ':attribute 必须是有效的 IPv6 地址。', 'json' => ':attribute 必须是有效的 JSON 字符串。', 'list' => ':attribute 必须是列表。', 'lowercase' => ':attribute 必须是小写。', 'lt' => [ 'array' => ':attribute 必须少于 :value 个元素。', 'file' => ':attribute 必须小于 :value KB。', 'numeric' => ':attribute 必须小于 :value。', 'string' => ':attribute 必须小于 :value 个字符。', ], 'lte' => [ 'array' => ':attribute 不能多于 :value 个元素。', 'file' => ':attribute 必须小于等于 :value KB。', 'numeric' => ':attribute 必须小于等于 :value。', 'string' => ':attribute 必须小于等于 :value 个字符。', ], 'mac_address' => ':attribute 必须是有效的 MAC 地址。', 'max' => [ 'array' => ':attribute 不能超过 :max 个元素。', 'file' => ':attribute 不能大于 :max KB。', 'numeric' => ':attribute 不能大于 :max。', 'string' => ':attribute 不能大于 :max 个字符。', ], 'max_digits' => ':attribute 不能超过 :max 位数字。', 'mimes' => ':attribute 必须是 :values 类型的文件。', 'mimetypes' => ':attribute 必须是 :values 类型的文件。', 'min' => [ 'array' => ':attribute 至少有 :min 个元素。', 'file' => ':attribute 至少 :min KB。', 'numeric' => ':attribute 至少 :min。', 'string' => ':attribute 至少 :min 个字符。', ], 'min_digits' => ':attribute 至少 :min 位数字。', 'missing' => ':attribute 必须不存在。', 'missing_if' => '当 :other 为 :value 时 :attribute 必须不存在。', 'missing_unless' => '除非 :other 为 :value,否则 :attribute 必须不存在。', 'missing_with' => '当 :values 存在时 :attribute 必须不存在。', 'missing_with_all' => '当 :values 都存在时 :attribute 必须不存在。', 'multiple_of' => ':attribute 必须是 :value 的倍数。', 'not_in' => '所选的 :attribute 无效。', 'not_regex' => ':attribute 格式无效。', 'numeric' => ':attribute 必须是数字。', 'password' => [ 'letters' => ':attribute 必须包含至少一个字母。', 'mixed' => ':attribute 必须包含至少一个大写和一个小写字母。', 'numbers' => ':attribute 必须包含至少一个数字。', 'symbols' => ':attribute 必须包含至少一个符号。', 'uncompromised' => ':attribute 已出现在数据泄露中,请更换。', ], 'present' => ':attribute 必须存在。', 'present_if' => '当 :other 为 :value 时 :attribute 必须存在。', 'present_unless' => '除非 :other 为 :value,否则 :attribute 必须存在。', 'present_with' => '当 :values 存在时 :attribute 必须存在。', 'present_with_all' => '当 :values 都存在时 :attribute 必须存在。', 'prohibited' => ':attribute 被禁止。', 'prohibited_if' => '当 :other 为 :value 时 :attribute 被禁止。', 'prohibited_if_accepted' => '当 :other 被接受时 :attribute 被禁止。', 'prohibited_if_declined' => '当 :other 被拒绝时 :attribute 被禁止。', 'prohibited_unless' => '除非 :other 在 :values 中,否则 :attribute 被禁止。', 'prohibits' => ':attribute 禁止 :other 出现。', 'regex' => ':attribute 格式无效。', 'required' => ':attribute 为必填项。', 'required_array_keys' => ':attribute 必须包含以下键::values。', 'required_if' => '当 :other 为 :value 时 :attribute 为必填项。', 'required_if_accepted' => '当 :other 被接受时 :attribute 为必填项。', 'required_if_declined' => '当 :other 被拒绝时 :attribute 为必填项。', 'required_unless' => '除非 :other 在 :values 中,否则 :attribute 为必填项。', 'required_with' => '当 :values 存在时 :attribute 为必填项。', 'required_with_all' => '当 :values 都存在时 :attribute 为必填项。', 'required_without' => '当 :values 不存在时 :attribute 为必填项。', 'required_without_all' => '当 :values 都不存在时 :attribute 为必填项。', 'same' => ':attribute 与 :other 必须相同。', 'size' => [ 'array' => ':attribute 必须包含 :size 个元素。', 'file' => ':attribute 必须为 :size KB。', 'numeric' => ':attribute 必须为 :size。', 'string' => ':attribute 必须为 :size 个字符。', ], 'starts_with' => ':attribute 必须以下列之一开头::values。', 'string' => ':attribute 必须是字符串。', 'timezone' => ':attribute 必须是有效的时区。', 'unique' => ':attribute 已存在。', 'uploaded' => ':attribute 上传失败。', 'uppercase' => ':attribute 必须是大写。', 'url' => ':attribute 必须是有效的 URL。', 'ulid' => ':attribute 必须是有效的 ULID。', 'uuid' => ':attribute 必须是有效的 UUID。', /* |-------------------------------------------------------------------------- | 自定义验证语言行 |-------------------------------------------------------------------------- */ 'custom' => [ 'attribute-name' => [ 'rule-name' => 'custom-message', ], ], /* |-------------------------------------------------------------------------- | 自定义属性名称 |-------------------------------------------------------------------------- */ 'attributes' => [], ];