perfion / perfion-objectdata-importer-magento2
Object data importer for magento2
Requires
- php: ^8.1|^8.2|^8.3
- magento/framework: ^102|^103
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16.0
- magento/magento-coding-standard: *
- phpro/grumphp-shim: ^2.10
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^1.9
- phpunit/phpunit: ^8.5|^9.0
- dev-main
- 2.0.0
- 1.3.0
- 1.2.7
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.10
- 1.1.9
- 1.1.8
- 1.1.7
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.7.x-dev
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-develop
- dev-master
- dev-PERF-11-use-default-magento-cron-jobs
- dev-36909-102_attribute_sync_saves_all
- dev-31158-236-attribute-options-optimising
- dev-Refactoring
- dev-phpcbf-test
- dev-optionValues
- dev-staging
- dev-attribute_cache_implement
- dev-15829-102_values_error_message
- dev-13079-102_category_seo_load
- dev-11526-102_delete_null_values
This package is not auto-updated.
Last update: 2025-04-18 10:03:26 UTC
README
This module provides a simple mechanism for importing data using simple objects. Focus is on performance to allow importing mass amount of data.
Usage
Use the \Perfion\ObjectDataImporter\Importer
and feed it with a php-generator that
will return Perfion\ObjectDataImporter\Data\*
objects.
You can use the Perfion\ObjectDataImporter\Api\
repositories to quickly load existing objects.
Every yield object from the generator will be briefly validated, all collected objects then get saved to the database. The repositories will take care of the object_relations used by Magento's database setup.
Example
todo
Extension options
todo
Licence
Proprietary. tbd.
Copyright
(c) 2020 Perfion