perfion / perfion-objectdata-importer-magento2
Object data importer for magento2
1.2.5
2024-04-09 09:21 UTC
Requires
- php: ^7.4|^8.1|^8.2
- magento/framework: ^102|^103
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16.0
- magento/magento-coding-standard: *
- phan/phan: dev-master
- phpunit/phpunit: ^8.5|^9.0
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