nanasess/eccube2-fixture-generator

2.0.2 2024-06-06 01:19 UTC

README

The eccube:fixtures:generate command generate of dummy data.

Installation

composer require nanasess/eccube2-fixture-generator

(Optional) cli interface

composer require ec-cube2/cli --dev

Usage of cli interface

php data/vendor/bin/eccube eccube:fixtures:generate [options]

cli Options

      --with-locale=WITH-LOCALE  Set to the locale. [default: "ja_JP"]
      --products=PRODUCTS        Number of Products. [default: 100]
      --orders=ORDERS            Number of Orders. [default: 10]
      --customers=CUSTOMERS      Number of Customers. [default: 100]
  -h, --help                     Display this help message
  -q, --quiet                    Do not output any message
  -V, --version                  Display this application version
      --ansi                     Force ANSI output
      --no-ansi                  Disable ANSI output
  -n, --no-interaction           Do not ask any interactive question
  -v|vv|vvv, --verbose           Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug