despark / laravel-data-migration by astoimenov

Helps you migrate data from foreign or local database table by table
514
1
9
Package Data
Maintainer Username: astoimenov
Maintainer Contact: lsimeonov@despark.com (Ludmil Simeonov)
Package Create Date: 2017-03-28
Package Last Update: 2017-05-16
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-04-25 03:02:20
Package Statistics
Total Downloads: 514
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 1
Total Watchers: 9
Total Forks: 0
Total Open Issues: 0

Not production ready!

General

This is a laravel library to help with Data migrations from old databases. Can also help with getting some remote database data and migrate it to a your database(s)

Installation

Add the service provider inside config/app.php

'providers' => [
...
Despark\Migrations\Providers\MigrationServiceProvider::class,
]

Publish the config file

php artisan vendor:publish --provider="Despark\Migrations\Providers\MigrationServiceProvider"

You must prepare the database connection to which the library will connect to get the data. You can create the connection inside config/database.php; Then set the database name that should be used by the library trough .env file setting MIGRATION_DATABASE_CONNECTION=your_database_name key or by setting the database name directly in the published config config/migrations.php.

Usage

To be done...