putthisinthecode / emigrate
A module to export Drupal site content
Package info
github.com/putthisinthecode/drupal-module-emigrate
Type:drupal-module
pkg:composer/putthisinthecode/emigrate
1.0.0-alpha
2022-02-25 12:21 UTC
Requires
- php: >=7.0
- yosymfony/toml: ^1.0
This package is auto-updated.
Last update: 2026-03-15 20:28:03 UTC
README
This module exports all content of a Drupal site in a hierarchy of portable JSON files. It is still in development.
Prerequisites
- Drush 9
- TOML (installed with composer)
How to use this module
At the root of your drupal installation, type
drush emigrate:init
It will create an "emigrate" directory with a TOML configuration file inside it. You can then type
drush emigrate:export
All nodes, users and taxonomy terms will be exported as individual json files in the emigrate directory.