Skip to content

rauwebieten/php-faker-clothing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Faker clothing

A clothing provider for fzaninotto/faker

Installation

Install with composer.
Add to your composer.json file:

{
  "require": {
    "rauwebieten/php-faker-clothing": "^1.0"
  }
}

Usage

<?php

$faker = \Faker\Factory::create();
$faker->addProvider(new \RauweBieten\PhpFakerClothing\Clothing($faker));
echo $faker->clothing() . PHP_EOL;

See the examples folder for more information

Example result

See examples/output/example.md for 100 generated rows

Why do you needs this?

To fill a e-commerce database with fake data? See fzaninotto/faker