Input

Valid Password

Rule `valid_password`: Validates password policy format.

Usage

Use where password complexity must be checked.

$schema = \Lemonade\Framework\Validation\ValidationSchema::create()
    ->field('field', 'Field')
        ->password()
        ->end();

$result = $validator->validate($payload, $schema);

Stable rule name

valid_password for translations, registry lookup and per-rule messages.

Group

Security / Content