mirror of
https://github.com/Respect/Validation.git
synced 2024-05-15 12:46:43 +02:00
c522f6235c
The only Identity Card we have is the Polish one, that said it makes more sense to have a specific rule that only validates that, rather than having a "IdentityCard" rule that only accepts one value. Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
492 B
492 B
Pesel
Pesel()
Validates PESEL (Polish human identification number).
v::pesel()->validate('21120209256'); // true
v::pesel()->validate('97072704800'); // true
v::pesel()->validate('97072704801'); // false
v::pesel()->validate('PESEL123456'); // false
Categorization
- Identifications
Changelog
Version | Description |
---|---|
1.1.0 | Created |
See also: