We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
这不知道是不是bug?
改用translates做了解决。
$v = \Inhere\Validate\Validation::make(data: [ 'title' => '', 'name' => '', ], rules: array( ['title,name', 'required', 'msg' => [ 'tagId' => '标题不能为空。', 'userId' => '姓名不能为空。', ]], ))->validate( stopOnError: !true ); if ($v->isFail()) { var_dump($v->getErrors()); };