A PHP library to easily manage and import large data file.
composer require iq2i/data-importer
Version (X.Y.Z) | PHP | Comment |
---|---|---|
4.*.* |
>= 8.1.0 |
Current version |
3.2.* |
>= 7.4.0 |
Previous version |
DataImporter is based on 3 components:
- Reader: how to read your files
- Processor: what to do with your data
- Archiver: where to store processed files (optional)
Once the required parts are initialized, you can create a DataImporter and use it:
<?php
use IQ2i\DataImporter\DataImporter;
$dataImporter = new DataImporter(
$csvReader,
$articleProcessor,
// optional archiver here
);
$dataImporter->execute();
Additionally, this package provides deeper integration into Symfony:
Please report issues and request features at https://github.com/iq2i/data-importer/issues.
This bundle is under the MIT license. For the whole copyright, see the LICENSE file distributed with this source code.