Download the PHP package kommandhub/demo-data-sw without Composer
On this page you can find all versions of the php package kommandhub/demo-data-sw. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kommandhub/demo-data-sw
More information about kommandhub/demo-data-sw
Files in kommandhub/demo-data-sw
Package demo-data-sw
Short Description Seeding high-quality demo data (categories, property groups, and products) into Shopware 6.
License MIT
Informations about the package demo-data-sw
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
Via Composer (Recommended)
Run the following command in your Shopware root directory:
Manual Installation (Development)
- Clone this repository into your Shopware
custom/plugins/directory. -
Navigate to the plugin directory:
- Start the development environment:
Usage
To seed the demo data, run the following command inside the container:
To create footer navigation categories separately, run:
Image Selection
When seeding products, you will be prompted to select images from the media manager. To ensure the selection process is manageable even with large media libraries, the plugin only lists images whose filenames start with demo- (e.g., demo-product-1.png).
[!IMPORTANT] Ensure your demo images are uploaded to the Shopware Media Manager and prefixed with
demo-before running the command.[!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
Static Analysis
Coding Standards
License
This project is licensed under the MIT License - see the LICENSE file for details.