📅  最后修改于: 2022-03-11 14:54:40.449000             🧑  作者: Mango
代码示例1
$validator = Validator::make($request->all(), [
'password' => 'required|string',
'email' => 'required|string|email',
]);