Skip to main content

Installation

You can install the package via composer:

composer require andach/extract-and-transform

You can publish and run the migrations with:

php artisan vendor:publish --provider="Andach\ExtractAndTransform\ExtractAndTransformServiceProvider"
php artisan migrate

Configuration

The script will publish a configuration file with the following options:

chunk_size (int)

The default chunk size to use throughout the script.

table_prefix (string)

By default, LEaT will append a prefix to tables that it auto-generates to store data. More information on this is available in the Sync section of the documentation.

This prefix can be blank.

internal_table_prefix (string)

To avoid table name collissions, LEaT will prefix its own internal tables with this string. It is not recommended to change it.