Input
Valid Phone Number
Rule `valid_phonenumber`: Alternative phone validation rule.
Usage
Use where legacy-compatible format is expected.
$schema = \Lemonade\Framework\Validation\ValidationSchema::create()
->field('field', 'Field')
->phoneNumber()
->end();
$result = $validator->validate($payload, $schema);
Stable rule name
valid_phonenumber for translations, registry lookup and per-rule messages.
Group
Format