PHP code example of hack4mer / diffon
1. Go to this page and download the library: Download hack4mer/diffon 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/ */
hack4mer / diffon example snippets
//nclude 'vendor/autoload.php'
use Hack4mer\Diffon\Dinffon;
$diffon = new Diffon();
$diffon->setSource("dir1")->setDestination("dir2");
$difference = $diffon->diff();
print_r($difference);