Skip to content

Commit

Permalink
Add more missing locale documentation (FakerPHP#24)
Browse files Browse the repository at this point in the history
* add missing documentation

Signed-off-by: Daniel Schmelz <[email protected]>

* add missing documentation

Signed-off-by: Daniel Schmelz <[email protected]>
  • Loading branch information
krsriq authored Dec 7, 2020
1 parent 26ec87b commit cb02426
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 4 deletions.
12 changes: 9 additions & 3 deletions docs/locales/en_GB.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
### `Faker\Provider\en_GB\Address`

```php
echo $faker->secondaryAddress; // 'Flat 13'
echo $faker->county; // 'Hampshire'
echo $faker->secondaryAddress; // "Flat 13"
echo $faker->county; // 'Hampshire'
```

### `Faker\Provider\en_GB\Payment`
Expand All @@ -13,5 +13,11 @@ echo $faker->county; // 'Hampshire'
echo $faker->bankAccountNumber; // "GB28MLRJ42074399970100"

// Generates a random National Insurance number.
echo $faker->nino; // 'TY179309C'
echo $faker->nino; // "TY179309C"
```

### `Faker\Provider\en_GB\PhoneNumber`

```php
echo $faker->mobileNumber; // "07720324489"
```
17 changes: 17 additions & 0 deletions docs/locales/en_IN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# English (India)

### `Faker\Provider\en_IN\Address`

```php
echo $faker->locality; // "Vaishali Nagar"
echo $faker->localityName; // "Kharadi"
echo $faker->societyName; // "Shanti Apartments"
echo $faker->state; // "Delhi"
echo $faker->stateAbbr; // "DL"
```

### `Faker\Provider\en_IN\PhoneNumber`

```php
echo $faker->mobileNumber; // "09007086397"
```
2 changes: 1 addition & 1 deletion docs/locales/en_NG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
### `Faker\Provider\en_NG\Address`

```php
// Generates a random region name
echo $faker->county; // 'Edo'
echo $faker->region; // 'Katsina'
```

Expand Down
6 changes: 6 additions & 0 deletions docs/locales/en_NZ.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# English (New Zealand)

### `Faker\Provider\en_NZ\Address`

```php
echo $faker->region; // "Auckland"
```

### `Faker\Provider\en_NZ\Phone`

```php
Expand Down
16 changes: 16 additions & 0 deletions docs/locales/en_PH.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# English (Philippines)

### `Faker\Provider\en_PH\Address`

```php
echo $faker->province; // "Marinduque"
echo $faker->municipality; // "Lacub"
echo $faker->barangay; // "Poblacion"
```

### `Faker\Provider\en_PH\Phone`

```php
// Generates a cell (mobile) phone number
echo $faker->mobileNumber; // "+63 (933) 384-1558"
```
2 changes: 2 additions & 0 deletions docs/locales/en_SG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,6 @@ echo $faker->premiumPhoneNumber; // "1900 219 6547"
echo $faker->mobileNumber; // "9207 0603"

echo $faker->fixedLineNumber; // "6752 8659"

echo $faker->voipNumber; // "3384 1228
```
8 changes: 8 additions & 0 deletions docs/locales/en_UG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# English (Uganda)

### `Faker\Provider\en_UG\Address`

```php
echo $faker->district; // "Kabarole"
echo $faker->region; // "North"
```

0 comments on commit cb02426

Please sign in to comment.