almaviacx / ibexaimportexportbundle
Bundle to handle import/export
Installs: 2 812
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 1
Type:ibexa-bundle
Requires
- php: ^7.3 || ^8.0
- craue/formflow-bundle: ^3.0
- symfony/uid: ^5.4
Suggests
- matthiasnoback/symfony-console-form: Used to execute workflow from CLI
- phpoffice/phpspreadsheet: Used for the XlsReader
- symfony/messenger: Used to run job asynchronously
This package is auto-updated.
Last update: 2024-11-06 12:21:25 UTC
README
Import / Export workflow :
A job
trigger a workflow
A workflow
call a reader
to get a list of items, then use a list of step
to filter/modify the items and finally pass them to a list of writer
Step
A step service must implement AlmaviaCX\Bundle\IbexaImportExport\Step\StepInterface
and have the tag almaviacx.import_export.component
The bundle provide the AlmaviaCX\Bundle\IbexaImportExport\Step\AbstractStep
to simplify the creation of a service
Provided steps
AlmaviaCX\Bundle\IbexaImportExport\Step\IbexaContentToArrayStep
Transform a content into an associative array. Take a map as argument to extract properties from a content to generate the associative array
More explaination on the transformation process here
Options are :
- map (array representing the resulting associative array. each entry value correspond to a property of the content. ex :
["title" => "content.fields[title].value"]
)