Skip to content

String Length Validators: `->string()->lengthBetween(..., ...)`, `->string()->lenghtSmallerThan(...)`, etc.

Compare
Choose a tag to compare
@mpscholten mpscholten released this 08 Mar 09:55
· 4 commits to master since this release

This release adds a new string length validator contributed by @kasitmp:

  • ->string()->lengthBetween(3, 10)->required()
  • ->string()-> lengthLargerThan(3)->required()
  • ->string()-> lengthLargerThanOrEqualTo(3)->required()
  • ->string()-> lengthSmallerThan(10)->required()
  • ->string()-> lengthSmallerThanOrEqualTo(10)->required()