2017 © Pedro Peláez
 

symfony-bundle importbundle

A tool for transfer data between different databases

image

delirehberi/importbundle

A tool for transfer data between different databases

  • Wednesday, April 6, 2016
  • by delirehberi
  • Repository
  • 2 Watchers
  • 8 Stars
  • 97 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

Import Bundle

Join the chat at https://gitter.im/delirehberi/importbundle, (*1)

Installation

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:, (*2)

$ composer require delirehberi/import ">=1"

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation., (*3)

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:, (*4)

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new Delirehberi\ImportBundle\DelirehberiImportBundle(),
        );

        // ...
    }

    // ...
}

Step 3: Configure your mapping, (*5)

Open your config file (app/config/config.yml) and edit like this:, (*6)

parameters:
  delirehberi_import:
    connection_key:
      database:
        driver: pdo_mysql
        user: root
        password: null
        dbname: old_database_name
        host: localhost
        port: ~
        charset: 'utf8'
      maps:
        news:
          entity: Acme\ContentBundle\Entity\Content
          old_data:
            service_id: my_project.data_service
            method: getOldData
          fields:
            old_id:
              type: integer
              name: ID
          ...

Ps: if you don't want update existing items you can add this config to your config.yml file:, (*7)

delirehberi_import:
    update: false

Documentation

See the summary., (*8)

The Versions

06/04 2016

dev-master

9999999-dev https://github.com/delirehberi/importbundle

A tool for transfer data between different databases

  Sources   Download

MIT

The Requires

 

symfony import data-transfer

08/01 2016

1.5.4

1.5.4.0 https://github.com/delirehberi/importbundle

A tool for transfer data between different databases

  Sources   Download

MIT

The Requires

 

symfony import data-transfer

24/12 2015

1.5.3

1.5.3.0 https://github.com/delirehberi/importbundle

A tool for transfer data between different databases

  Sources   Download

MIT

The Requires

 

symfony import data-transfer

22/12 2015

1.5.2

1.5.2.0 https://github.com/delirehberi/importbundle

A tool for transfer data between different databases

  Sources   Download

MIT

The Requires

 

symfony import data-transfer

22/12 2015

1.5.1

1.5.1.0 https://github.com/delirehberi/importbundle

A tool for transfer data between different databases

  Sources   Download

MIT

The Requires

 

symfony import data-transfer

22/12 2015

1.4.0

1.4.0.0 https://github.com/delirehberi/importbundle

A tool for transfer data between different databases

  Sources   Download

MIT

The Requires

 

symfony import

22/12 2015

1.3.0

1.3.0.0 https://github.com/delirehberi/importbundle

A tool for transfer data between different databases

  Sources   Download

MIT

The Requires

 

symfony import

22/12 2015

1.2.0

1.2.0.0 https://github.com/delirehberi/importbundle

A tool for transfer data between different databases

  Sources   Download

MIT

The Requires

 

symfony import

21/12 2015

1.1.0

1.1.0.0 https://github.com/delirehberi/importbundle

A tool for transfer data between different databases

  Sources   Download

MIT

The Requires

 

symfony import

20/12 2015

1.0

1.0.0.0 https://github.com/delirehberi/importbundle

A tool for transfer data between different databases

  Sources   Download

MIT

The Requires

 

symfony import