swag / migration-assistant
Migration plugin for shopware/platform
Installs: 34 422
Dependents: 0
Suggesters: 0
Security: 0
Stars: 20
Watchers: 30
Forks: 25
Type:shopware-platform-plugin
pkg:composer/swag/migration-assistant
Requires
- shopware/core: ~6.7
- dev-trunk
- 16.0.0
- 15.0.4
- 15.0.3
- 15.0.2
- 15.0.1
- 14.1.0
- 14.0.0
- 13.2.0
- 13.1.0
- 13.0.0
- 12.0.0
- 11.0.1
- 11.0.0
- 10.0.1
- 10.0.0
- 9.0.0
- 8.0.0
- 7.0.2
- 7.0.1
- 7.0.0
- 6.6.x-dev
- 6.5.x-dev
- 6.0.1
- 6.0.0
- 5.1.2
- 5.1.1
- 5.1.0
- 5.0.0
- 4.2.5
- 4.2.4
- 4.2.3
- 4.2.2
- 4.2.1
- 4.2.0
- 4.1.1
- 4.1.0
- 4.0.0
- 3.1.0
- 3.0.2
- 3.0.1
- 3.0.0
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.0
- 1.7.0
- 1.6.0
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.40.0
- 0.30.1
- 0.20.0
- 0.10.2
- 0.10.0
- 0.9.1
- 0.9.0
- dev-fix/ts-config
- dev-chore/fix-typescript-types-and-migration-api-service
- dev-chore/add-tests-for-auth-client
- dev-ntr/snippets/housekeep
- dev-fix/sw6-connection-dal-exception
- dev-perf/improve-mapping-lookup-performance
- dev-feature/migration-logging-refactor
- dev-chore/error-resolution-bulk-test
- dev-fix/acceptance-test
- dev-test/import-export-stuck
- dev-13167-compatible-with-shopware-custom-field-change
- dev-13248/change-swag_migration_fix-table
- dev-mig-895/move-migration-to-message-queue
- dev-master
- dev-4.2-sw6.4.0.0
- dev-3.1-sw6.3.1.0
- dev-4.1-sw6.4.0.0
- dev-4.0-sw6.4.0.0
- dev-3.0-sw6.3.1.0
- dev-ntr/saas-release
- dev-2.1-sw6.3.1.0
- dev-2.0-sw6.3.0.0
- dev-1.6-sw6.2.0-RC1
- dev-1.5-sw6.2.0-RC1
- dev-1.4-sw6.2.0-RC1
- dev-1.3-sw6.1.0
- dev-1.2-sw6.1.0
- dev-1.1-sw6.1.0
- dev-1.0-sw6.1.0
- dev-0.30-sw6.0.0+ea2
- dev-0.20-sw6.0.0+ea1.1
- dev-0.10-sw6.0.0+ea1
This package is auto-updated.
Last update: 2026-03-03 08:34:43 UTC
README
The Shopware Migration Assistant establishes a connection between a data source and Shopware 6 and guides you step by step through the migration process.
It supports migrating numerous datasets (products, manufacturers, customers, …) and updating them at any time. Before a migration starts, the assistant runs a data check and supports creating “mappings” to resolve missing/unassignable data (for example: assign missing manufacturers to a default manufacturer) to avoid data loss.
Overview
- Documentation
- Shopware 5
- Requirements
- Installation
- Developer setup
- Common workflows
- Release notes / upgrades
- License
Documentation
- User documentation: Shopware Migration docs
- Developer documentation: Migration Assistant developer docs
Shopware 5: Migration Connector
When migrating from Shopware 5, you can migrate locally or connect via the “Migration Connector” plugin from the Shopware Store:
- Migration Connector: Shopware Store listing
The connector provides API endpoints so Shopware 6 can establish a secure connection to the Shopware 5 shop. Keep it enabled as long as you need updates/delta migrations.
Requirements
- Shopware:
shopware/core(see version herecomposer.json) - Node.js / npm: required for administration and JS tooling (lint/unit/acceptance)
- MySQL client: required for importing Shopware 5 fixture data (optional)
Installation (Shopware 6 project)
Expected path (relative to your Shopware 6 project root) for the plugin:
custom/plugins/SwagMigrationAssistant
From the shopware root directory:
bin/console plugin:refresh bin/console plugin:install -a -c SwagMigrationAssistant
Alternatively, use the provided shortcut:
composer setup
Developer setup
- Install JS dependencies (administration + Jest + Playwright project):
composer npm:init
- Install git pre-commit hook (optional):
./bin/setup.sh
Common workflows
Linting & formatting
Run everything (PHP + admin):
composer lint
Run individual parts:
composer ecs composer phpstan composer phpunit composer admin:lint # eslint composer admin:format # prettier
Tests
- PHPUnit:
composer phpunit
- Administration unit tests (Jest):
composer admin:unit
- Acceptance tests (Playwright):
composer admin:acceptance
More details (including Playwright install steps) can be found in the acceptance tests README.
Updating visual regression snapshots
Visual regression tests compare screenshots against baseline images. When UI changes are intentional, update the snapshots via CI to ensure consistency across environments:
- Go to Actions > Acceptance workflow
- Click Run workflow
- Check Update snapshots
- Run the workflow and wait for completion
- Download the
visual-snapshots-trunkartifact - Extract and replace
tests/acceptance/snapshots/with the downloaded files - Commit the updated snapshots to your branch
Import Shopware 5 fixture database (optional)
This imports tests/_fixtures/database/shopware55.sql into the database configured in your Shopware root .env via DATABASE_URL.
composer install5db
Release notes / upgrades
- Changelog:
CHANGELOG.md - Breaking changes:
UPGRADE.md
License
MIT See LICENSE.