rules
Table of Contents
Namespaces
- abstracts
- auth
- geo
- helpers
- http
- models
Classes
- ColorRule
- Rule: Ensures that a given value matches a valid color expression (e.g. "#ff0000").
- ConstantsRule
- Rule: Validates that a given value is part of the constants defined
in a class using {@see ConstantsTrait}.
- EqualRule
- Validation rule that ensures a given value is **equal to** another field's value or to a fixed numeric constant.
- GreaterThanOrEqualRule
- Validation rule that ensures a given value is **greater than or equal to** another field's value
or to a fixed numeric constant.
- GreaterThanRule
- Validation rule that ensures a given value is **greater than or equal to** another field's value
or to a fixed numeric constant.
- I18nRule
- Validates a multilingual (i18n) field ensuring:
- Only allowed language codes are present.
- InstanceOfRule
- Ensures that a given value is instance of the specified class name.
- ISO8601DateRule
- Validates whether a given value is a valid ISO 8601 date or datetime expression.
- LessThanOrEqualRule
- Validation rule that ensures a given value is **less than or equal to** another field's value
or to a fixed numeric constant.
- LessThanRule
- Validation rule that ensures a given value is **less than** another field's value
or to a fixed numeric constant.
- PostalCodeRule
- Validates a postal code for a given country.
- RangeRule
- Validates that a numeric value lies between a minimum and a maximum value (inclusive).
- StartsWithRule
- Rule: Ensures that a given value starts with a specified prefix.