composer require compolomus/fs-helper
use Compolomus\FSHelper\FSHelper;
use Compolomus\FSHelper\ZipHelper;
$dir = '../';
echo '<pre>' . print_r(FSHelper::getInfoDirectory($dir), true) . '</pre>';
ZipHelper::createArchiveFromDirectory($dir);
You just need to run following command:
./vendor/bin/phpunit