laravel Method IlluminateValidationValidator::validateReuqired does not exist.
Posted alexanderzhao
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了laravel Method IlluminateValidationValidator::validateReuqired does not exist.相关的知识,希望对你有一定的参考价值。
Method Illuminate\Validation\Validator::validateReuqired does not exist.
此错误是由于我们在配置验证时,写错了关键字,
public function rules()
return [
'file'=>'required',
'folder'=>'reqiured', // 这里reqiured错误,应该required
];
以上是关于laravel Method IlluminateValidationValidator::validateReuqired does not exist.的主要内容,如果未能解决你的问题,请参考以下文章
Laravel 5 未找到类“Illuminate\Html\HtmlServiceProvider”
未找到 Laravel 5 类“Illuminate\Support\Facades\FormFacade”
Laravel 未找到“Illuminate\Foundation\Application”类
Laravel 5.8 Illuminate\Validation\ValidationException:给定的数据无效