brstuff / laravelsqlines
Simple laravel package to manage the sync of databases over Sqlines
v0.0.4
2025-04-11 22:20 UTC
Requires
- illuminate/support: ~5|~6|~7|~8|~9|~10|~11|~12
This package is auto-updated.
Last update: 2025-06-11 22:45:30 UTC
README
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.