Respect\Validation
Overview
Comparable values
Concrete API
Custom rules
Feature Guide
Installation
License
List of rules
Message placeholder conversion
Message translation
Rules
AllOf
Alnum
Alpha
AlwaysInvalid
AlwaysValid
AnyOf
ArrayType
ArrayVal
Attribute
Base
Base64
Between
BoolType
BoolVal
Bsn
Call
CallableType
Callback
Charset
Cnh
Cnh
Categorization
Changelog
Cnpj
Consonant
Contains
ContainsAny
Control
Countable
CountryCode
Cpf
CreditCard
CurrencyCode
Date
DateTime
Digit
Directory
Domain
Each
Email
EndsWith
Equals
Equivalent
Even
Executable
Exists
Extension
Factor
FalseVal
Fibonacci
File
FilterVar
Finite
FloatType
FloatVal
Graph
GreaterThan
HexRgbColor
Iban
Identical
Image
Imei
In
Infinite
Instance
IntType
IntVal
Ip
Isbn
IterableType
Json
Key
KeyNested
KeySet
KeyValue
LanguageCode
LeapDate
LeapYear
Length
LessThan
Lowercase
Luhn
MacAddress
Max
MaxAge
Mimetype
Min
MinAge
Multiple
Negative
NfeAccessKey
Nif
Nip
No
NoWhitespace
NoneOf
Not
NotBlank
NotEmoji
NotEmpty
NotOptional
NullType
Nullable
Number
NumericVal
ObjectType
Odd
OneOf
Optional
PerfectSquare
Pesel
Phone
PhpLabel
Pis
PolishIdCard
Positive
PostalCode
PrimeNumber
Printable
Punct
Readable
Regex
ResourceType
Roman
ScalarVal
Sf
Size
Slug
Sorted
Space
StartsWith
StringType
StringVal
SubdivisionCode
Subset
SymbolicLink
Time
Tld
TrueVal
Type
Unique
Uploaded
Uppercase
Url
Uuid
Version
VideoUrl
Vowel
When
Writable
Xdigit
Yes
Zend
Respect\Validation
Docs
»
Rules »
Cnh
Cnh
Cnh()
Validates a Brazilian driver's license.
v::cnh()->validate('02650306461'); // true
Categorization
Identifications
Changelog
Version
Description
0.5.0
Created
See also:
Bsn
Cnpj
Cpf
Imei
NfeAccessKey
Nif
Pis