Download the PHP package mohammadsalmani28/faker without Composer
On this page you can find all versions of the php package mohammadsalmani28/faker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mohammadsalmani28/faker
More information about mohammadsalmani28/faker
Files in mohammadsalmani28/faker
Package faker
Short Description Persian faker is a package for laravel to make dummy data
License MIT
Homepage https://github.com/mohammadsalmani28/faker
Informations about the package faker
My Faker
My faker is a package for laravel. This package created for making fake data in your project. please dont use it for create spam. thanks for using my package!
Installation
Step 1
Run following command in root directory of your project:
Step 2 : Add Provider
Now you have to add this line in 'app.php' located in 'config' directory of your laravel project in the providers array:
Step 3 : Add Aliases
Now you have to add this line in 'app.php' located in 'config' directory of your laravel project in the aliases array:
Done :)
Usage:
Code | Description |
---|---|
Return an object with properties | |
Return a random firstname | |
Return a random lastname | |
Return a random fullname | |
Return a gender of firstname | |
Return a random company name | |
Return a random mobile number | |
Return a random telephone number | |
Return a random email address | |
Return a random domain like: https://www.alefbyte.ir | |
Return a random you can use $min and $max but thery are nullable | |
Return a random birthday date use $sign for replace '/' between year/mounth/day | |
Return a random postal address | |
Return a random city of iran name | |
Return a random state of iran name | |
Return a random 10 integer | |
Return a random word | |
Return a random sentence | |
Return a random paragraph | |
Return a random ip address | |
Return a random car Model | |
Return a random Insurance company | |
Return a random avatar URL from Gravatar |
License
The MIT License (MIT). Please see License File for more information.