📜  Laravel 密码和 Password_Confirmation 验证 - PHP 代码示例

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

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