hatamiarash7/persian-faker is a Laravel package for persian faker for laravel.
It currently has 6 GitHub stars and 3.007 downloads on Packagist (latest version v1.5).
Install it with composer require hatamiarash7/persian-faker.
Discover more Laravel packages by hatamiarash7
or browse all Laravel packages to compare alternatives.
Last updated
Persian faker package for laravel
Install package with composer
composer require hatamiarash7/persian-faker
| Function | Description |
| --- | --- |
| PFaker::firstName() | Return a random first name |
| PFaker::lastName() | Return a random last name |
| PFaker::fullName() | Return a random full name |
| PFaker::company() | Return a random company name |
| PFaker::mobile() | Return a random mobile number |
| PFaker::telephone() | Return a random telephone number |
| PFaker::email() | Return a random email address |
| PFaker::domain() | Return a random domain like: https://www.test.ir |
| PFaker::age($min,$max) | Return a random age. you can use $min and $max but they are nullable |
| PFaker::birthday($sign) | Return a random birthday date use $sign for replace '/' between year/month/day |
| PFaker::address() | Return a random postal address |
| PFaker::city() | Return a random city of iran name |
| PFaker::state() | Return a random state of iran name |
| PFaker::melliCode() | Return a random 10 integer |
| PFaker::word() | Return a random word |
| PFaker::sentence() | Return a random sentence |
| PFaker::paragraph() | Return a random paragraph |
If you want to add new functions :
git checkout -b my-new-functionsgit commit -am 'Add some functions'git push origin my-new-functionsEach project may have many problems. Contributing to the better development of this project by reporting them.