PHP code example of deliverist / syncer
1. Go to this page and download the library: Download deliverist/syncer 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/ */
deliverist / syncer example snippets
php
$syncer = new Deliverist\Syncer\FtpSyncer($host, $user, $password, $path);
$logger = new CzProject\Logger\OutputLogger;
$syncer->sync(__DIR__ . '/directory/', $logger);