| Package Data | |
|---|---|
| Maintainer Username: | orangepipl |
| Maintainer Contact: | labapawel@gmail.com (Paweł Łaba) |
| Package Create Date: | 2016-09-19 |
| Package Last Update: | 2016-09-22 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-18 15:11:06 |
| Package Statistics | |
|---|---|
| Total Downloads: | 336 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
Parser dla laravela do numerów NIP, REGON PESEL
do pliku composer.json w sekcji require-dev dodajemy
'kf24/nrpparser':'dev-master'
'providers' => \[
..
kf24\nrpparser\ProviderNRPParser::class,
'pesel'=> 'Numer pesel jest nieprawidłowy.'
'nip'=> 'Numer nip jest nieprawidłowy.'
'regon'=> 'Numer regon jest nieprawidłowy.'
\Validator::make(
[ // dane wejsciowe
'numer_nip'=>'xxxxxxxxxx',
'numer_regon'=>'xxxxxxxx',
'numer_pesel'=>'xxxxxxxxxxx'
],
[ // ustawienie walidatora
'numer_nip'=>'nip',
'numer_regon'=>'regon',
'numer_pesel'=>'pesel'
]
)