A source migrate plugin, to allow us to use XLS and XLSX files as a migration source.
Requirements:
- Drupal 8
- PHPSpreadsheet library (>=1.6.0)
- Migrate module (>= 8.1)
Usage:
To use this plugin you have to:
- install PHPSpreadsheet library via Composer
- install this module via default installation process
Next point it's specifying a source plugin in your migration
and all it's params:
source:
# Specify the plugin ID.
plugin: xls
# Define the path to the XLS source file.
path: public://mySources/source.xls
# Define unique key(s).
keys:
- id
# Header row(to figure out which row is should be parsed as a column titles/headers).
header_row: 1
# Columns mapping:
columns:
- My column name: my_column_name
Supporting organizations:
Proudly sponsored development
Proudly sponsored development
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.- Project categories: Content editing experience, Import and export
16 sites report using this module
- Created by valentine94 on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.


