This module automatically generates Drupal migrations for importing data from CSV files. It creates a migration for each CSV and groups them, offering a simpler alternative to manual configuration or UI-based migration tools.
This module provides a drush command to generate migrations (imports) based on source CSV files :
- Main idea here is to automatically generate migration config based on source csv files.
- Module creates Migration for each source file and Migration Group for these created migrations.
What is different about it compared to alternatives :
- default_content : Content is stored in json/yaml files, making it hard to maintain and update in the long run. Migrate generator uses csv files instead
- Feeds migrate : Provide an UI to create migration manually. Migrate generator does it automatically based on csv files
Example of usage :
drush migrate_generator:generate_migrations /var/www/html/content --updatedrush migrate:import --all --tag=mggdrush migrate_generator:clean_migrations mgg
Ask your assistant about Migrate generator
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- Migrate Plus
- Migrate: Skip On 404
- Migrate Source CSV
- migrate Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 8.x-2.4 | Stable | 9–11 | PHP >=7.4 | Jun 17, 2024 | |
| 8.x-2.3 | Stable | 9–11 | PHP >=7.4 | May 30, 2024 | |
| 8.x-2.2 | Stable | 9–10 | PHP >=7.4 | Nov 30, 2023 | |
| 8.x-2.1 | Stable | 9–10 | PHP >=7.4 | Oct 30, 2023 | |
| 8.x-2.0 | Stable | 9–10 | PHP >=7.4 | Oct 23, 2023 | |
| 8.x-1.6 | Stable | 9–10 | PHP >=7.4 | Aug 15, 2023 | |
| 8.x-2.x-dev | Dev | 9–11 | PHP >=7.4 | Jul 17, 2023 | |
| 8.x-1.5 | Stable | 9–10 | PHP >=7.4 | Apr 17, 2023 | |
| 8.x-1.4 | Stable | 9–10 | PHP >=7.4 | Apr 17, 2023 |