PHPackages                             wesleydeveloper/data-processor - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. wesleydeveloper/data-processor

ActiveLibrary[Queues &amp; Workers](/categories/queues)

wesleydeveloper/data-processor
==============================

High-performance data import/export package for Laravel with cloud storage support, chunking, and queue processing

v0.1.1(9mo ago)03.0k↑77.5%MITPHPPHP ^8.3

Since Aug 2Pushed 9mo agoCompare

[ Source](https://github.com/wesleydeveloper/data-processor)[ Packagist](https://packagist.org/packages/wesleydeveloper/data-processor)[ Docs](https://github.com/wesleydeveloper/data-processor)[ RSS](/packages/wesleydeveloper-data-processor/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (11)Versions (6)Used By (0)

🚀 Laravel Data Processor
========================

[](#-laravel-data-processor)

[![Latest Version on Packagist](https://camo.githubusercontent.com/64955049be7b6d34339215db7bbb60d5e1535be843fbf5787e60385c65e084a4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7765736c6579646576656c6f7065722f646174612d70726f636573736f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wesleydeveloper/data-processor)[![GitHub Tests Action Status](https://camo.githubusercontent.com/39e6ddd38e6fc563e4c0e776993905aea03a626fb537b1b472fc0c9cea5286f3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7765736c6579646576656c6f7065722f646174612d70726f636573736f722f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/wesleydeveloper/data-processor/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/1a56245783d029e4b3228920b4579f629ffc608c62e55095ccd02f4917d03a56/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7765736c6579646576656c6f7065722f646174612d70726f636573736f722f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/wesleydeveloper/data-processor/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/b44f94764b9f746b1fcc0d115c06af4b6dfcd3dfdc395e08fe3938149e1f7afb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7765736c6579646576656c6f7065722f646174612d70726f636573736f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wesleydeveloper/data-processor)

A **high-performance** Laravel package for importing and exporting large datasets with **cloud storage support**, **automatic chunking**, **queue processing**, and **memory-efficient generators**.

Built on top of [OpenSpout](https://github.com/openspout/openspout) for maximum performance and minimal memory usage.

🌟 Features
----------

[](#-features)

- ⚡ **High Performance**: Process millions of rows with minimal memory usage
- ☁️ **Cloud Storage**: Native support for AWS S3, Google Cloud Storage, Azure, and more
- 🔄 **Auto Chunking**: Automatically splits large files into smaller chunks
- 📋 **Queue Support**: Background processing with Laravel Queues
- 🧠 **Memory Efficient**: Uses PHP generators to handle large datasets
- 📁 **Multiple Formats**: Excel (XLSX), CSV, ODS support
- ✅ **Data Validation**: Built-in validation with Laravel's validator
- 🎯 **Laravel Integration**: Seamless integration with Laravel ecosystem
- 🧪 **Well Tested**: Comprehensive test suite with performance benchmarks

📋 Requirements
--------------

[](#-requirements)

\-- OpenSpout 4.0+

🐳 Docker
--------

[](#-docker)

Use Docker para rodar a suíte de testes em um ambiente PHP 8.3 isolado:

```
# Build da imagem
docker build -t data-processor-tests .

# Run os testes (usa o código já copiado na imagem, sem volume mount)
docker run --rm data-processor-tests
```

📦 Installation
--------------

[](#-installation)

You can install the package via composer: `bash composer require wesleydeveloper/data-processor`

Publish the config file: `bash php artisan vendor:publish --tag="data-processor-config"`

🚀 Quick Start
-------------

[](#-quick-start)

### Import Data

[](#import-data)

Create an import class:

```
