Download the PHP package slayerbirden/dataflow without Composer

On this page you can find all versions of the php package slayerbirden/dataflow. 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 dataflow

DataFlow

Build Status Scrutinizer Code Quality Code Coverage

Build a pipeline to pour your data through!

About

This is a low level lib that helps you with building a data migration process. It requires a little bootstrapping to float, but it can be easily done if you just need a minimal process or looking to test things out.

The main idea is that you're building a pipeline where each section can mutate the data that's flowing through. It allows process to be extremely flexible, since each new step can potentially get (completely) transformed data. It also can be very dangerous, since mistake can be costly, hence we crafted awesome error handling and reporting mechanisms.

Examples

Build a simple cli import script.

You have a csv file you need to import into database? Let's do that!

  1. For the sake of example we'll be importing users into table "users" with columns:

    id (int) name (string) email (string, unique) age (int)
  2. Our csv file looks like this

    first last email age
    Arthur Dayne [email protected] 23
    Gerold Hightower [email protected] 43
    Eddard Stark [email protected] 36
    Jaime Lannister [email protected] 34
    Aegon I Targaryen [email protected] 64
  3. Let's use PipeLine builder to set up some known steps. We need a little bootstrapping to get DBAL writer and empty emitter.

  4. Now initiate the Plumber and pour.

  5. We want some reporting to know what's going on. Let's implement basic stdOut emitter.

  6. There are something else we need to do: concat firstName and lastName and assign to "name"

  7. Full file can be found under examples/example1-import-cli/import.php.
  8. Logged results:

Goals

Influences


All versions of dataflow with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1
doctrine/dbal Version ^2.5
ext-json Version *
ext-pdo Version *
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 slayerbirden/dataflow contains the following files

Loading the files please wait ....