Skip to content

Commit ec7e95d

Browse files
author
Oxicode
committed
add RUC Perú
1 parent ab1d9ad commit ec7e95d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs/locales/es_PE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,24 @@
66
// Generates a Peruvian Documento Nacional de Identidad (DNI) number
77
echo $faker->dni; // '83367512'
88
```
9+
10+
### `Faker\Provider\es_PE\Company`
11+
12+
```php
13+
// Generates a Peruvian Documento Nacional de Identidad (DNI) number
14+
echo $faker->ruc; // '20105895410'
15+
```
16+
17+
### `Faker\Provider\es_PE\Company`
18+
19+
```php
20+
// Generates a Peruvian Documento Nacional de Identidad (DNI) number
21+
echo $faker->ruc(true); // '20105895410'
22+
```
23+
24+
### `Faker\Provider\es_PE\Company`
25+
26+
```php
27+
// Generates a Peruvian Documento Nacional de Identidad (DNI) number
28+
echo $faker->ruc(false); // '20105895410'
29+
```

0 commit comments

Comments
 (0)