📜  laravel 8 密码确认验证 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:06.796000             🧑  作者: Mango

代码示例4
$this->validate($request, [
    'name' => 'required|min:3|max:50',
    'email' => 'email',
    'vat_number' => 'max:13',
    'password' => 'required|confirmed|min:6',
]);