PHP code example of khaleejinfotech / laravel-db-sync

1. Go to this page and download the library: Download khaleejinfotech/laravel-db-sync library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

khaleejinfotech / laravel-db-sync example snippets


php artisan vendor:publish --provider="Khaleejinfotech\LaravelDbSync\LaravelDbSyncServiceProvider" --tag="laravel-db-sync"
bash
php artisan sync:local
bash
php artisan queue:work
bash
php artisan sync:remote
bash
php artisan queue:work