rauwebieten/php-faker-clothing

此包最新版本(1.0.0)没有可用的许可证信息。

1.0.0 2017-12-09 10:44 UTC

This package is auto-updated.

Last update: 2024-09-15 19:51:06 UTC


README

fzaninotto/faker 提供服装提供者

安装

使用composer安装。
将以下内容添加到您的composer.json文件中

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

使用方法

<?php

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

有关更多信息,请参阅示例文件夹

示例结果

请参阅 examples/output/example.md 以查看100行生成的数据

为什么需要这个?

为了填充电子商务数据库中的假数据?请参阅 fzaninotto/faker