josh/faker

This package is abandoned and no longer maintained. No replacement package was suggested.

A library for generate fake items

0.0.8 2018-10-17 08:40 UTC

This package is auto-updated.

Last update: 2022-04-08 17:27:23 UTC


README

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.