snlbaral/faker-ecommerce
最新稳定版本:2.0.0
Composer 安装命令:
composer require snlbaral/faker-ecommerce
包简介
Ecommerce products names generate using fakerphp/faker
README 文档
README
Ecommerce Products names generate using fakerphp/faker
Installation
Add the FakerEcommerce library to your composer.json file:
composer require snlbaral/faker-ecommerce
Init
<?php include 'vendor/autoload.php';
Usage
To use this with Faker, you must add the FakerEcommerce\Ecommerce class to the Faker generator:
<?php $faker = \Faker\Factory::create(); $faker->addProvider(new \FakerEcommerce\Ecommerce($faker)); // Generator $faker->televisions(); $faker->mobilePhones(); $faker->laptops(); $faker->cameras(); $faker->mensClothing(); $faker->womensClothing(); $faker->jewelry(); $faker->watches();
统计信息
- 总下载量: 8.39k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-02-15