承接 matusstafura/faker-commerce 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

matusstafura/faker-commerce

最新稳定版本:v0.1.0

Composer 安装命令:

composer require matusstafura/faker-commerce

包简介

A PHP lib to generate dummy data for ecommerce

README 文档

README

Generates dummy data related mostly for ecommerce use.

Install the package

composer require matusstafura/faker-commerce

Usage

use FakerCommerce\Faker\FakerFactory;

// Use a factory to initialize
$faker = FakerFactory::create();

$faker->availability();
// "out of stock"

$faker->breadcrumbs(4, ">");
// "Radio>Instruments>Materials & Supplies>Accessories"

$faker->category();
// "Action Figures"

$faker->color();
// "Coral"

$faker->condition();
// "Very Good"

$faker->name();
// leather shorts

$faker->payment();
// "cash on delivery"

$faker->price();
// "557.00"

$faker->review();
// "Expensive for the quality."

$f->getAllMethods();
// lists all available methods

Tests

Run the tests with Pest PHP

composer test

License

The MIT License (MIT). Please see License File for more information.

Contribution

Contributions are welcome and will be fully credited. Please, add tests if required.

Support

You can leave a star.

Security

If you discover any security-related issues, please email us instead of using the issue tracker.

TODO

Please see TODO.md file.

统计信息

  • 总下载量: 138
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-10-14