Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iq2i/data-importer
A PHP library to easily manage and import large data file
https://github.com/iq2i/data-importer
async csv csv-files csvreader data dto file import json php processor reader xml xmlreader
Last synced: 4 months ago
JSON representation
A PHP library to easily manage and import large data file
- Host: GitHub
- URL: https://github.com/iq2i/data-importer
- Owner: IQ2i
- License: mit
- Created: 2020-04-10T15:43:50.000Z (almost 5 years ago)
- Default Branch: 4.x
- Last Pushed: 2024-04-04T18:36:54.000Z (11 months ago)
- Last Synced: 2024-08-10T00:12:18.434Z (6 months ago)
- Topics: async, csv, csv-files, csvreader, data, dto, file, import, json, php, processor, reader, xml, xmlreader
- Language: PHP
- Homepage: https://github.com/IQ2i/data-importer
- Size: 161 KB
- Stars: 6
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# iq2i/data-importer
[](https://scrutinizer-ci.com/g/iq2i/data-importer/)
[](https://scrutinizer-ci.com/g/iq2i/data-importer/)
[](https://github.com/IQ2i/data-importer/actions)
[](https://github.com/IQ2i/data-importer/blob/4.x/LICENSE)
[](https://packagist.org/packages/iq2i/data-importer)A PHP library to easily manage and import large data file.
## Installation
```bash
composer require iq2i/data-importer
```##### Choose the version you need
| Version (X.Y.Z) | PHP | Comment |
|:---------------:|:----------:|:--------------------|
| `4.*.*` | `>= 8.1.0` | **Current version** |
| `3.2.*` | `>= 7.4.0` | Previous version |## Usage
DataImporter is based on 3 components:
* [Reader](/docs/reader.md): how to read your files
* [Processor](/docs/processor.md): what to do with your data
* [Archiver](/docs/archiver.md): where to store processed files (optional)Once the required parts are initialized, you can create a DataImporter and use
it:```php
execute();
```## Framework integration
Additionally, this package provides deeper integration into Symfony:
* [An abstract command to easily setup import jobs in your projects](/docs/abstract_command.md)
## Issues and feature requests
Please report issues and request features
at https://github.com/iq2i/data-importer/issues.## License
This bundle is under the MIT license. For the whole copyright, see
the [LICENSE](LICENSE) file distributed with this source code.