https://github.com/nanasess/eccube2-fixture-generator
https://github.com/nanasess/eccube2-fixture-generator
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nanasess/eccube2-fixture-generator
- Owner: nanasess
- Created: 2021-11-01T09:05:22.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-21T00:09:42.000Z (9 months ago)
- Last Synced: 2025-02-01T15:22:20.896Z (9 months ago)
- Language: PHP
- Size: 34.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dummy data generator on EC-CUBE2
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
```