Download the PHP package simsoft/data-flow without Composer

On this page you can find all versions of the php package simsoft/data-flow. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package data-flow

Simsoft DataFlow

Latest Version on Packagist Tests PHPStan PHP Docs

A lightweight, composable ETL pipeline library for PHP 8.3+

DataFlow helps you move data from one place to another — read from a source (database, CSV, API), transform it (filter, map, validate, enrich), and write it to a destination (database, spreadsheet, file). This pattern is called ETL (Extract, Transform, Load) and is the backbone of data migration, reporting, syncing, and batch processing.

With DataFlow, you describe your pipeline as a fluent chain:

No framework required. No external services. Just PHP.

📖 Full Documentation

Why This Library

Install

Basic Usage

Example using extract, transform and load.

Limit

Limit data output.

Filter

Filter method help you to filter the data.

Chunk

Splitting data into smaller, manageable parts of a fixed size

Mapping

Mapping method allow you to convey the data to another format. Original keys are preserved; mapped keys are added or overwritten.

Set New Map

setNewMap() converts source data into a completely new array containing only the mapped keys. Unlike map() which merges into the existing row, setNewMap() discards all original keys.

map() vs setNewMap()

map() setNewMap()
Original keys Preserved Discarded
Result contains All original keys + mapped keys Only mapped keys
Use case Add/rename columns while keeping the rest Reshape into a new structure, drop unwanted fields

Preview

preview() is a debugging helper that limits the pipeline to N rows and dumps each row's key and value. Use it to inspect the data structure at any point in the pipeline.

Insert preview() at any point to understand the data shape before writing the next stage.

Flow Continuation

Connecting flows into a chain.

Pipeline Result

Every run() call returns a PipelineResult with execution metadata.

Error Handling

Configure per-stage error strategies for production resilience.

Available strategies: Throw (default), Skip, Retry, LogAndContinue.

Dry-Run Mode

Validate pipelines without performing actual writes.

Logging & Progress

Inject a PSR-3 logger and track progress on large datasets.

New to ETL or to this library? Start with Quick Start — install, first pipeline, and how to inspect one when it misbehaves.

Advanced Usage

  1. Using Closure
  2. Useful Processors
  3. Customized ETL Processor
  4. Create Reusable Data Flow
  5. Using Payload
  6. Macro & Mixin
  7. Error Handling
  8. Observability & Metrics
  9. Dry-Run Mode
  10. Schema Validation
  11. Circuit Breaker
  12. Checkpoint & Resume
  13. Metrics Exporter
  14. Spreadsheet (PhpSpreadsheet)

Releasing

Maintainers: see RELEASING.md for the release checklist. (It is excluded from the installed package, hence the absolute link.) After publishing, verify the release the way a user installs it:

License

The Simsoft DataFlow is licensed under the MIT License. See the LICENSE file for details


All versions of data-flow with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
psr/log Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package simsoft/data-flow contains the following files

Loading the files please wait ...