Download the PHP package maketok/datamigration without Composer

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

Data-Migration

Build Status Scrutinizer Code Quality Code Coverage

This package is aimed at migrating large chunks of data across different resources.

Some of the influences:

It's perfect to plan and execute a complex import or export. It also can be used as a transport tool to migrate your data from one structure to another. The unit (workers) structure allows it to parse a complex import file and extract a multi-level data structure from it.

The same's true for reverse process as well: the multi-level data structure can be inserted into a single file.

Installation

Use composer to include it in your project:

Examples

There are few examples in tests/integration/QueueWorkflowTest integration test. Here's the typical uses.

Import

Import customers and addresses from flat CSV file.

email name age street city zip
[email protected] Bart Robbinson 32 20 Chestnut Terrace New York 07003
[email protected] Kale D 15 123 Manson LA 90023
111 Dale str. Chicago 60333

Export

We have 3 DB tables for customers and their addresses.

customer

id email age
1 [email protected] 32
2 [email protected] 15

customer_data

id parent_id firstname lastname
1 1 Bart Robinson
2 2 Kale Dager

address

id customer_id street city zip
1 1 20 Chestnut Terrace New York 07003
2 1 123 Manson LA 90023
3 2 111 Dale str. Chicago 60333

We want to get next output:

customers.csv

email name age street city zip
[email protected] Bart Robbinson 32 20 Chestnut Terrace New York 07003
[email protected] Kale D 15 123 Manson LA 90023
111 Dale str. Chicago 60333

FAQ


All versions of datamigration with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
symfony/expression-language Version 2.*
fzaninotto/faker Version ~1
doctrine/dbal Version 2.*
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 maketok/datamigration contains the following files

Loading the files please wait ....