Pesel()
Validates PESEL (Polish human identification number).
v::pesel()->assert('21120209256');
// Validation passes successfully
v::pesel()->assert('97072704800');
// Validation passes successfully
v::pesel()->assert('97072704801');
// → "97072704801" must be a valid PESEL
v::pesel()->assert('PESEL123456');
// → "PESEL123456" must be a valid PESEL| Mode | Template |
|---|---|
default |
{{subject}} must be a valid PESEL |
inverted |
{{subject}} must not be a valid PESEL |
| Placeholder | Description |
|---|---|
subject |
The validated input or the custom validator name (if specified). |
- Identifications
| Version | Description |
|---|---|
| 1.1.0 | Created |