Skip to content
πŸ’€ A Persian library for generate fake items
PHP
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Update mobile generator of faker Feb 5, 2017
tests Update unit tests configures Feb 4, 2017
.gitignore Add gitignore file Feb 3, 2017
.travis.yml Fixed travis unit tests Oct 17, 2018
LICENSE Initial commit Dec 12, 2016
README.md Update README.md Feb 11, 2018
composer.json Update php requirement version and travis-ci file Feb 4, 2017
objects.php Update address objects Feb 5, 2017
phpunit.xml Configure unit tests for project Feb 3, 2017

README.md

Build Status Latest Stable Version Total Downloads Latest Unstable Version License Scrutinizer Code Quality Say Thanks!

Josh faker component

A persian faker library for php

Requirement

  • php 5.6 >=

Install with composer

You can install this package throw the Composer by running:

composer require josh/faker

Usage

You can access to faker objects by according blew following table:

// use the faker namespace

use Josh\Faker\Faker;
Objects Descriptions
Faker::firstname() Return random firstname
Faker::lastname() Return random lastname
Faker::fulltname() Return random fullname
Faker::company() Return random company name
Faker::mobile() Return random mobile number
Faker::telephone() Return random telephone number
Faker::email() Return random email address
Faker::domain() Return random domain
Faker::website() Return random website address
Faker::pageUrl() Return random pageUrl
Faker::age($min,$max) Return random age arguments*("Min" , "Max")
Faker::address() Return random postal address
Faker::city() Return random city name
Faker::meliCode() Return random meli code

License

The MIT License (MIT). Please see License File for more information.

You can’t perform that action at this time.