Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nanasess/eccube2-fixture-generator
https://github.com/nanasess/eccube2-fixture-generator
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nanasess/eccube2-fixture-generator
- Owner: nanasess
- Created: 2021-11-01T09:05:22.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-06T01:20:34.000Z (7 months ago)
- Last Synced: 2024-09-18T05:57:27.005Z (3 months ago)
- Language: PHP
- Size: 27.3 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
```