laravelsqlines maintained by brstuff
LaravelSqlines
Simple laravel package to manage the sync of databases over Sqlines.
Installation
Via Composer
$ composer require brstuff/laravelsqlines
Copy config and sqlines to storage
php artisan vendor:publish --tag=laravelsqlines.config
php artisan vendor:publish --tag=laravelsqlines.app
Usage
Simple example.
$log = \LaravelSqlines::
sourceConnection("oracle", "database_name_in_config")
->targetConnection("mysql", "database_name_in_config")
->tables(["table1", "tables2"])
->tmap("table1, new_table_1")
->tmap("table2, new_table_2")
->sync();
License
MIT License (MIT). Please see the license file for more information.