kommandhub/demo-data-sw
Composer 安装命令:
composer require kommandhub/demo-data-sw
包简介
README 文档
README
Kommandhub Demo Data SW
A Shopware 6 plugin for seeding high-quality demo data (categories, property groups, and products) into your store.
Features
- Interactive Seeding: Guides you through selecting parent categories and CMS pages.
- Bulk Data Generation: Efficiently creates categories, property groups, and products.
- Deterministic IDs: Uses UUIDs derived from names to prevent duplicate creation on multiple runs.
- Docker-Ready: Comes with a pre-configured development environment.
- Modern Standards: Full support for PHPUnit, PHPStan, and PHP-CS-Fixer.
Getting Started
Prerequisites
- Docker and Docker Compose
- Make
Installation
- Clone this repository into your Shopware
custom/plugins/directory. - Navigate to the plugin directory:
cd custom/plugins/KommandhubDemoDataSW - Start the development environment:
make up
Usage
To seed the demo data, run the following command inside the container:
bin/console kommandhub:seed-demo-data
[!INFO] This command should be run once to populate your store with initial demo data. While it uses deterministic UUIDs to avoid duplicates, running it multiple times might overwrite custom changes to the generated entities.
Development
Running Tests
make test
Static Analysis
make analyse
Coding Standards
make cs make cs-fix
License
This project is licensed under the MIT License - see the LICENSE file for details.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-07-04
