Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.
/ faker Public archive

๐Ÿ’€ A Persian library for generate fake items

License

Notifications You must be signed in to change notification settings

mrjosh/faker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

51 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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::fullname() 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.