mirror of
https://github.com/Respect/Validation.git
synced 2024-06-21 06:55:07 +02:00
Add documentation for portuguese fiscal number rule
This commit is contained in:
parent
e219da2945
commit
5e264f9ade
19
docs/rules/PortugueseNif.md
Normal file
19
docs/rules/PortugueseNif.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Portuguese NIF
|
||||
|
||||
- `PortugueseNif()`
|
||||
|
||||
Validates Portugal's fiscal identification number ([NIF](https://pt.wikipedia.org/wiki/N%C3%BAmero_de_identifica%C3%A7%C3%A3o_fiscal)).
|
||||
|
||||
```php
|
||||
v::portugueseNif()->validate('124885446'); // true
|
||||
v::portugueseNif()->validate('220005245'); // false
|
||||
```
|
||||
|
||||
## Categorization
|
||||
|
||||
- Identifications
|
||||
|
||||
***
|
||||
See also:
|
||||
|
||||
- [Nif](Nif.md)
|
Loading…
Reference in a new issue