PHP code example of lyhiving / swoolefilesync
1. Go to this page and download the library: Download lyhiving/swoolefilesync 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/ */
lyhiving / swoolefilesync example snippets
php daemon.php -t c -o start
php daemon.php -t s -o start
php daemon.php -t c -o stop
php daemon.php -t s -o stop
cp daemon.php ../../../daemon.php
cp hooks_unzipAndMoveSample.php ../../../hooks_unzipAndMove.php
cp config.sample.php ../../../config.inc.php
cp config.inc.sample.php config.inc.php