Input

Greater Than Or Equal

Rule `greater_than_equal_to`: Value must be >= parameter.

Usage

Use for inclusive lower bounds.

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

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

Stable rule name

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

Group

Numeric