Looking to hire Laravel developers? Try LaraJobs
This package is not available.

laravelsqlines maintained by brstuff

Description
Simple laravel package to manage the sync of databases over Sqlines
Author
Last update
2025/04/12 00:20 (dev-master)
License
Downloads
207

Comments
comments powered by Disqus

LaravelSqlines

Status Release Latest Version on Packagist License: MIT

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.