PHPackages                             laravelplus/etl-manifesto - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. laravelplus/etl-manifesto

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

laravelplus/etl-manifesto
=========================

declarative ETL tool

v1.0.0(1y ago)21MITPHPPHP ^8.3CI failing

Since Apr 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/LaravelPlus/etl-manifesto)[ Packagist](https://packagist.org/packages/laravelplus/etl-manifesto)[ Docs](https://github.com/laravelplus/etl-manifesto)[ RSS](/packages/laravelplus-etl-manifesto/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (7)Versions (2)Used By (0)

Laravel ETL Manifesto
=====================

[](#laravel-etl-manifesto)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5d4d012be9ba9d9fb4885ab4f6fae2f96506c809694398e61f67043aa5b3fbf5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c61726176656c706c75732f65746c2d6d616e69666573746f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravelplus/etl-manifesto)[![Total Downloads](https://camo.githubusercontent.com/d9b8a4e6dfbf20f8fd1ffa1a4291730962572e1d07e20168a5c7ab8925e9e3a1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61726176656c706c75732f65746c2d6d616e69666573746f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravelplus/etl-manifesto)[![GitHub Actions](https://github.com/laravelplus/etl-manifesto/actions/workflows/main.yml/badge.svg)](https://github.com/laravelplus/etl-manifesto/actions/workflows/main.yml/badge.svg)

Features
--------

[](#features)

- 🚀 YAML-based manifest configuration
- 🔄 Flexible data transformation pipeline
- 📊 Support for complex SQL aggregations
- 🔌 Multiple export formats (CSV, JSON)
- 🔗 Automatic relationship handling
- 🎯 Group by and custom functions
- 🛡️ Error handling and validation
- 📝 Detailed logging

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require laravelplus/etl-manifesto
```

Basic Usage
-----------

[](#basic-usage)

1. Create a manifest file (e.g., `manifests/etl.yml`):

```
etl:
  - id: monthly_user_summary
    name: Monthly User Purchase Summary
    description: Generate monthly user purchase statistics

    source:
      entities:
        - users
        - orders
        - payments

      relationships:
        - users hasMany orders
        - orders hasOne payments

      conditions:
        - orders.created_at: last_month

      mapping:
        - id: users.id
        - name: users.name
        - email: users.email
        - total_orders:
            function: count
            column: orders.id
        - total_spent:
            function: sum
            column: payments.amount

      group_by:
        - users.id
        - users.name
        - users.email

    output:
      format: csv
      path: exports/monthly_user_summary.csv
```

2. Process the ETL manifest in your code:

```
use Laravelplus\EtlManifesto\EtlManifesto;

$etl = new EtlManifesto();
$results = $etl->loadManifest('manifests/etl.yml')->process();
```

Manifest Configuration
----------------------

[](#manifest-configuration)

### Source Configuration

[](#source-configuration)

Define your data sources and their relationships:

```
source:
  entities:
    - table_name
    - another_table

  relationships:
    - table_name hasMany related_table
    - table_name belongsTo parent_table
```

### Mapping Functions

[](#mapping-functions)

Available mapping functions:

- `count`: Count records
- `sum`: Sum values
- `avg`: Calculate average
- `min`: Find minimum value
- `max`: Find maximum value
- `concat`: Concatenate strings
- `custom`: Define custom transformations

### Transformations

[](#transformations)

Apply transformations to your data:

```
transform:
  - field_name: lower
  - another_field: upper
  - date_field: format_date
```

### Export Options

[](#export-options)

Supported export formats:

- CSV with custom delimiters and encoding
- JSON with formatting options
- Custom export handlers

Advanced Usage
--------------

[](#advanced-usage)

### Custom Transformers

[](#custom-transformers)

Create custom transformers by extending the `DataTransformer` class:

```
use Laravelplus\EtlManifesto\Services\DataTransformer;

class CustomTransformer extends DataTransformer
{
    public function transform($value, $options)
    {
        // Your custom transformation logic
    }
}
```

### Error Handling

[](#error-handling)

The package provides detailed error handling:

```
try {
    $results = $etl->loadManifest('manifests/etl.yml')->process();
} catch (\Exception $e) {
    // Handle errors
}
```

Contributing
------------

[](#contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Credits
-------

[](#credits)

- \[Your Name\]
- \[All Contributors\]

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance47

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

391d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e4629de002c40aef796e5b320091892f0b7b35b62497260c52cef3eb721eed1?d=identicon)[Nejcc](/maintainers/Nejcc)

---

Tags

laravelPlusetl-manifesto

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/laravelplus-etl-manifesto/health.svg)

```
[![Health](https://phpackages.com/badges/laravelplus-etl-manifesto/health.svg)](https://phpackages.com/packages/laravelplus-etl-manifesto)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[kirschbaum-development/commentions

A package to allow you to create comments, tag users and more

12369.2k](/packages/kirschbaum-development-commentions)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[glhd/special

1929.4k](/packages/glhd-special)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
