use Illuminate\Validation\Rules\Password; $request->validate([ 'password' => ['required', Password::defaults()], ]);