hatamiarash7/persian-faker
最新稳定版本:v1.5
Composer 安装命令:
composer require hatamiarash7/persian-faker
包简介
Persian faker for laravel
README 文档
README
Persian faker package for laravel
Installation
Install package with composer
composer require hatamiarash7/persian-faker
Usage
| 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 |
More functions are coming ...
Support
Contributing
If you want to add new functions :
- Fork repository !
- Create your feature branch :
git checkout -b my-new-functions - Commit your changes :
git commit -am 'Add some functions' - Push to the branch :
git push origin my-new-functions - Submit a pull request :D
Issues
Each project may have many problems. Contributing to the better development of this project by reporting them.
统计信息
- 总下载量: 2.72k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2019-07-17