nanasess / eccube2-fixture-generator
Installs: 110 325
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 1
Requires
- fakerphp/faker: ^1.23
Requires (Dev)
- symfony/console: ^2.8 || ^3.4 || ^4.4 || ^5.4 || ^6.4
Suggests
- ec-cube2/cli: Required if using the cli interface.
This package is auto-updated.
Last update: 2024-11-06 02:08: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