mirror of
https://github.com/Respect/Validation.git
synced 2024-06-01 21:32:14 +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>
30 lines
492 B
Markdown
30 lines
492 B
Markdown
# Pesel
|
|
|
|
- `Pesel()`
|
|
|
|
Validates PESEL (Polish human identification number).
|
|
|
|
```php
|
|
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:
|
|
|
|
- [Nip](Nip.md)
|
|
- [PolishIdCard](PolishIdCard.md)
|
|
- [SubdivisionCode](SubdivisionCode.md)
|