formix_validators 0.1.0 copy "formix_validators: ^0.1.0" to clipboard
formix_validators: ^0.1.0 copied to clipboard

Built-in validation rules for the Formix ecosystem. Includes validators for strings, numbers, dates, collections, phone numbers, and files.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.1.0 - 2026-01-23 #

Added #

  • Initial release of formix_validators
  • StringRules - String validation rules:
    • required, trimmedNotEmpty
    • minLength, maxLength, lengthRange
    • email, url, uuid, creditCard
    • matches, startsWith, endsWith, contains
    • equals, equalsIgnoreCase
    • hasUppercase, hasLowercase, hasDigit, hasSpecialChar
    • digitsOnly, alphaOnly, alphanumeric
  • NumberRules - Numeric validation rules:
    • min, max, range
    • greaterThan, lessThan
    • positive, negative, nonNegative, nonPositive
    • integer, decimal
    • multipleOf, precision
  • DateRules - Date/time validation rules:
    • past, future, pastOrToday, futureOrToday
    • before, after, between
    • age, minimumAge, maximumAge
    • weekday, weekend, businessDay
  • CollectionRules - Collection validation rules:
    • minLength, maxLength, lengthRange
    • notEmpty, unique
    • contains, containsAll, containsAny
    • every, any
  • PhoneRules - Phone number validation rules:
    • e164 - International E.164 format
    • usPhone - US phone number format
    • custom - Custom phone patterns
  • FileRules - File validation rules:
    • maxSize, minSize, sizeRange
    • extension, extensions
    • mimeType, imageOnly, documentOnly
0
likes
150
points
22
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Built-in validation rules for the Formix ecosystem. Includes validators for strings, numbers, dates, collections, phone numbers, and files.

Homepage
Repository (GitHub)
View/report issues

Topics

#validation #form #validators #input-validation #form-validation

License

MIT (license)

Dependencies

formix_core

More

Packages that depend on formix_validators