PHP code example of laramate / ddev-database-sync

1. Go to this page and download the library: Download laramate/ddev-database-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/ */

    

laramate / ddev-database-sync example snippets

dotenv
REMOTE_USER=""
REMOTE_HOST=""
REMOTE_PATH_TO_PROJECT=""
REMOTE_DB_DATABASE=""